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...
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...
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 */...
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...
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...
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)...
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...
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{...
#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]) ...
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...
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])...
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.
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...
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...
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>...
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()...
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
Hi Guest we just wanted to alert you to a major change in the forum. We will no longer be allowing the posting of outgoing links. Please use the attachment feature to attach media to your posts.