15,555 Topics
![]() | |
hi,I am an amateur c programmer.I am using turbo c++ v3.1 compiler. here is a simple program to input and display name and address.. There are two problems in my program 1) telephone number is too long for int and it displays some weird value.. so i tried long int, … | |
I made this code and i dont know what to do with my warning in calling function calc() inside the function getOption(). What should i do? need some little help here. [CODE]#include<stdio.h> void getOption(); void getData(int *num1, int *num2); void calc(int option, int num1, int num2); float add(int num1, int … | |
while scanning string we won't use ambers '&' why?? | |
Can anyone help me in generating .stf files for trace analyzer...?? | |
Hello everyone. i tried to write a program to eliminate nos from a file: this is what i mean: 001 #include <QApplication> 002 #include <QPushButton> 003 int main(int argc, char *argv[]) 004 { 005 QApplication app(argc, argv); 006 QPushButton *button = new QPushButton("Quit"); 007 QObject::connect(button, SIGNAL(clicked()), 008 &app, SLOT(quit())); 009 … | |
Here is a program to find the sum of n numbers entered .. I have done this programme in c++ but now I was asked to do it using c.. there is some error with the program.The basic array input ,display thing itself is not working.. Kindly help me .. … | |
Hi, I am using a FILE to write a protocol of the program execution which I will be using in case of crashes. Whenever I write a message to the file I open it [CODE] if ((mfdprot = fopen(protfile, "a")) == NULL) { [/CODE] after that I close it: [CODE] … | |
Hello, I need help concerning <curses.h> and <conio.h> libraries issues. There's a conflit between both libraries when I compile my software in Dev-C++ (XP OS). 1. In <curses.h> there's this code line: . . . extern int COLORS,COLOR_PAIRS; . . . 2. In <conio.h> there's this code line: . . … | |
Hi all, I wanna write a c program in linux which login to another linux machine using ssh. The program should enter the username/password, run a command in that machine and save the o/p in a file. Can anybody help me??? Thanks in advance. | |
great !!!hi to all viewers ..., is there something who have a c program about games,,... | |
[I]hi . im a 2nd year iT student , please help me think any programs that contains math analysis and by using for loop . any suggestions? :)) glad to have . thanks ! :))[/I] | |
I' working on an array where the user inputs characters(up to 80). I then need to output the characters, one per line, until the string is null. My problem is in the while loop i think, im just not sure what to do from here. Any ideas? [CODE]#include <stdio.h> void … | |
how save text file which is made by c and how add a new information in after saving it? | |
I am working on a program in c and I am trying to declare a ten element array, using a for loop to insert the elements. I am also using a second for loop to acquire the sum of all the elements in the array. I'm new to programming so … | |
hello guys i need your help , i am new in c language and i need to know if i can use c langiage to open images , i asked my programming teacher and he said i can not but i think it is possible so please if it is … | |
Please let me know where i have done the mistake [CODE]#include <stdio.h> #include <conio.h> #include <math.h> void main() { int f=0,s=1,n; n=f+s; if(n<=18); { printf("%d" ,n); f=s; s=n; n=f+s; } getch(); }[/CODE] | |
I have a problem at hand. It is to generate a C code - i need to do the following, i will capture an image, then save that image on a folder let say c:\\ program files\myfolder\image.bmp and then i use the OCR to read the number, let say 0102. … | |
Hi guys, i am having some problm while building my C code through VC++6.0. The following error i am getting while building: --------------------Configuration: ReportVARS - Win32 Debug-------------------- Linking... ReportVARS.obj : error LNK2001: unresolved external symbol _BTRV@24 PHCLUST.OBJ : error LNK2001: unresolved external symbol _BTRV@24 BTRVUTIL.OBJ : error LNK2001: unresolved external … | |
what's mean by definition and declaration in c? how u call this: int i; | |
I'm have trouble getting my area/volume progam going on a circle,cylinder,sphere,cone One with out a menu and onwe with a menu. Thanks for all your programmers help. This is a great site for help. | |
Hi, I want to develop routine based on MAC-ID of LAN card to prevent my s/w from piracy. The program should be able to create encryted text file containing some encryption alogorithm based on MAC-ID of LAN Card. It should be nearly impossible to recover the MAC-ID from the encrypted … | |
I'm working on a code that enables the user to input a string , compare it to some text in a file then send the approriate data ( from another file) using serial communication or TCP/IP. I ahve implemented the serial communication part but the TCP/IP..I've looked around but have … | |
How to solve 'missing ws2_32.lib' problem ?? Can anyone suggest a good site from where this can be downloaded..? | |
I'm having some trouble with the output here...can anyone help me...learning how to use to C language, more of a C++ programmer...i tried using all sort of declaration but the output is still the same... [CODE] int i; float x = FLT_MAX - (2.0); double y = DBL_MIN - (2.0); … | |
Hello I am sorry if this is a dumb question but is it conceivable to determine the memory address of a function that is inside a running application from another application? Say I have an application A that has a function helloWorld(). A is being launched. I would like to … | |
there are N elements in an array. u have one number x. u have to check whether there exists two elements in that array whose sum is x. But order should be less than N^2( N square). i dont know the method how to achieve order less than n^2. | |
the NTVDM CPU has encountered an illegal instruction. CS:035eIP:0401 OP:ff ff choose 'close' to terminate the application | |
Question : I use my code test sample which can got the right answer. But when I upload ACM Judge. It appear wrong answer. Could everybody tell me what wrong with me ? Thank you. <pre> Sample Input The following text<C><B>is centred and in boldface</B></C># <B>This <\g>is <B>boldface</B> in <<*> … | |
Well i have the following program where i need to swap students(dynamically created structure array) . Just cant seem to get the swap right. Main problem's here : [code=c] struct student *stemp; stemp=(struct student *)malloc(sizeof(student)); *stemp.name=s[i].name; s[i].name=s[j].name; s[j].name=stemp->name; [/code] Other info : [code=c] where s[i] belongs to a dynamically created … |
The End.