• CONTEST ALERT - Experience the power of DDR5 memory with Kingston Click for details

#include

  1. kARTechnology

    C Program use LARGE STRUCTURE & ARRAY

    Hi completed C subject in my Engineering:-D... Today I developed a code, I'm getting array is too large and structure is too large.but i need large structures, or is there any alternative way? the aim is to STORE log records(roll,time) from a fingerprint-based time attendance soft which...
  2. E

    Visual CPP lnk2019 error

    I am just getting started with visual cpp 2013 . I looked around the web for tutorials and tried running the following code #include <windows.h> #include <tchar.h> int WINAPI winMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nShowCmd) { MessageBox(NULL...
  3. A

    TCP program connection time out

    Hi, I am new to TCP programmng and am strucked in my very first program. It compiles and runs but gives the error connection time out. /*It is an echo server program that sends message to the given ip but does not receive anything */ /*I am getting connection time out. Why */...
  4. Sainatarajan

    C++ Program stops suddenly

    Question : I have to write a program to write object of class item to binary file then perform read,append,search and modify functions on the records. I have the written the following code. #include <iostream> #include <fstream> #include <cstdio> #include <cstring> #include <cstdlib> using...
  5. The Conqueror

    Sorting Data

    Define a structure called c ricket the will describe the following information - i) Player's name, ii) Country name, iii) Batting average. Write a program that will store information of 25 players using this structure, also arrange and display names of these players in...
  6. The Conqueror

    Unable to count blank spaces

    The problem is to print the total number of upper case characters, lower case characters and blank spaces in a string. Here is my code : #include <stdio.h> #include <string.h> int main() { int blank = 0; int upper=0; int lower = 0; char ch[80]; int i; gets(ch)...
  7. clmlbx

    find sum of prime numbers till 2 Million..

    Problem:- The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below two million. #include <iostream> #include <cmath> using namespace std; int main() { int flag = 1; unsigned long long sum=0,i,j,numb; cout << "Enter number untill you Want to...
  8. clmlbx

    Euler problem no 8

    To solve:- Problem 8 - Project Euler solution:- #include <stdio.h> #include <stdlib.h> int main() { int i,j,larg =0,prod; char series[1000] =...
  9. ankit.kumar010203

    Facing Problems In c++. Please Solve This Code...!

    Hello, I am facing problem with my c++ coding:cry::cry:. How can i add these following sentences to my text file of notepad? I know that it is wrong. Please Help me...! How can I fix it? The code are as follow:- #include <iostream> #include <fstream> using namespace std; class cars{...
  10. Nerevarine

    Need debugging help ASAP

    C++ DEBUG This one last error is making me insane Here's the code The error is Case bypasses initialization of local variable in main Need help ASAP
  11. Ashokkumar01cbe

    once again i struck with pointers

    #include <stdio.h> #include <math.h> main() { float x,y; long int i, j, m[6], *k[5] ; char *letter, *course[3], name [ ] = "I I T Madras"; course[0]="Numerical Methods"; course[1]=" and Programming"; printf ("\n%s %s\n ", course[0], course[1]) ...
  12. RBX

    C++: 2d char arrays | File handling

    I have a System Software lab test this Monday and we haven't been taught a thing. I tried something but am stuck at most basic things. Here is my program, I need to find function signatures from a C program and add them to array. Working with Java for quite long has totally erased whatever C...
  13. Gauravs90

    Array in c problem

    I'm using windows 7 64-bit and codeblocks mingw for compiling the following program #include<stdio.h> int main() { int i,len,a[100]; printf("enter the no. of elements\n"); scanf("%d",&len); printf("enter the integers\n"); for(i=0;i<len;i++) scanf("%d",a[i])...
  14. Faun

    Creating asymmetric tree of process using fork ()

    I am trying to write a pseudocode for this process tree using fork(). A little bit of hint will be very helpful. Here is my approach, pretty sure that it's not correct. Please see attachment.
  15. A

    Error in C program

    Hello friends, I am creating C program that will list all the files in the directory specified with their paths. So code is here. #include<stdio.h> #include<stdlib.h> #include<string.h> #include<unistd.h> #include<dirent.h> #include<sys/stat.h> void declevel(char str[]) { int...
  16. bijay_ps

    Please Explain

    I have downloaded this top down parsing program from the net. but am not able to understand the working of fuction "process". somebody please help me in getting the concept of the program. #include<iostream.h> #include<conio.h> #include<string.h> class parse { int...
  17. Z

    c++ program to alter bytes of an image file

    hey guys, i was trying to write a c++ program to alter every 4th byte of an image file.... i want to replace every 4th byte in the file with a 7.... but the program doesnt seem to be working...can someone help me out with it.... this what i wrote: #include<conio.h> #include<dirent.h>...
  18. nims11

    C++ gurus help me out

    i am trying to solve this easy problem at codechef.comOdd | CodeChef i have made a really short program to solve it. it gives correct answers when i test. but it exceeds the time limit in the codechef servers. my code is #include<iostream> #include <cmath> using namespace std; int main()...
  19. P

    problem in making module in RHEL 5

    Hii i m trying to build a kernel module in RHEL 5 but during compilation errors are coming as it is not getting #include<linux/module.h> . so is there any way to this problem.....plz reply
  20. vamsi360

    The Official Hello world thread!.....

    C: #include int main() { printf("Hello world!"); }
Top Bottom