19,876 Topics

Member Avatar for
Member Avatar for minnie
Member Avatar for Salem
0
167
Member Avatar for ankit7

hello everybody, Can anyone please tell how can i make C++ screen full in windows vista. thank you

Member Avatar for dmanw100
0
136
Member Avatar for the reaper

i know this sounds a bit n00b but can anyone tell me how to open a web browser in "c" because i am doing this project and i have to make a program that opens a web browser.. i need it to open the default internet explorer web browser and …

Member Avatar for the reaper
0
281
Member Avatar for vijaysoft1

Hi i am in a trouble please help me. in my program i had an array [CODE] int Maxwordcount[127]; int index=0; char ltr; char *typedword; char word[127][300][30] = { {............................................................}, // index = 0 {........................................................} // index = 1 ............ ................... ............................ {"a", "and", "apple","adobe","anvira","avast"}, // index = 65 {"boat", …

Member Avatar for vijaysoft1
0
358
Member Avatar for amrita.r

please help me.. m in final year MCA student.. i have to do a project on c-quiz application in Java[/U][/B] as front end and Oracle as back end.. if anyone can send me the source codes to <email snipped>

Member Avatar for stephen84s
0
100
Member Avatar for J-son

In this program, I cannot in put - integer. It outputs wrong result. What should I do to make it possible? Thanks heaps !!! [CODE=c] #include<stdio.h> int main(){ int num; int max=0; printf("Enter +/- integers or enter 0 to Exit \n"); while(1){ scanf("%d",&num); if(num==0) break; if(num>max) max=num; } printf("Max is …

Member Avatar for ArkM
0
88
Member Avatar for plike922

i need help with this program im getting this 1>selections.obj : error LNK2019: unresolved external symbol "void __cdecl displayArray(int * const)" (?displayArray@@YAXQAH@Z) referenced in function _main 1>D:\Documents and Settings\ERIC\Desktop\Projects\selections\Debug\selections.exe : fatal error LNK1120: 1 unresolved externals please help [CODE]#include <stdio.h> #include "genlib.h" #include "simpio.h" #define size 4 void sortArray (int …

Member Avatar for Aia
0
84
Member Avatar for utmibnca2004

I need help with my project. I don't understand how I would approach the following situation and need some advice/suggestions. I am using a file to read info necessary for the project and using classes to access the data. class Car { public: void CarInit(string& make, string& model, string& color, …

Member Avatar for mahlerfive
0
145
Member Avatar for haven_u

can someone explain the difference between get functions in C++... like get() or getline() and on what situation should we use any of these functions,

Member Avatar for Sky Diploma
0
75
Member Avatar for ambarisha.kn

hi, i have some data in variables of different types.(short, int, long, float, char, double). now i have to create one pointer, have to allocate 1mb memory and have to store one by one in that pointer. How to do this.. plz give some clues to start.. which type i …

Member Avatar for ArkM
0
856
Member Avatar for T&T

Hello, I need your help in updating the loop in this code. the purpose of this loop is to open and read all data file in the programme area that has a name (passenger xxxx) where x is any number from 0 to 9 . please help me, [code]void Print_allPass() …

Member Avatar for T&T
0
356
Member Avatar for harshchandra

is there anyway to print out any string on stdout without using semicolon at the end... ?? plzz reply

Member Avatar for Nick Evan
0
429
Member Avatar for francisprite

Hello there.. Can anyone give me an idea for a fun project in C? I just need something that will keep me busy and pretty much entertained. It's also for practice. What I mean when I say a fun project is something like the last Machine Problem I made. It …

Member Avatar for onkar81
0
277
Member Avatar for jobs

Line by line I need to get the whole content in a line from a file. I have looked at fgetc, fgets. According to fgets, I need to specify max number of characters to read. If I have file content like this: 1235690,9087657788888770000,89977553223456789\n I wouldn't know how max characters in …

Member Avatar for Narue
0
266
Member Avatar for ml2662

I am having trouble with the following program. I am trying to create a linked list that behaves like a FIFO queue. I need to be able to add new items to the end of the queue and remove them from the front. My confusion is with trying to use …

Member Avatar for findsyntax
0
179
Member Avatar for kneiel

how many processes will be created when i fork() twice . Is this logic correct ? the 1st fork will spawn child C1 which is a child of the parent process P. the code segment of the parent P is inherited by C1. the 2nd fork is called by both …

Member Avatar for Salem
0
89
Member Avatar for sanbal

I developed c# windows application and included a windows installer, after building the project , i am having a msi file. All the clients will install it to execute our product. We added a new dll and we give it to client through auto update. Now the dll will be …

Member Avatar for dickersonka
0
178
Member Avatar for kneiel

i have two classes. One is room and the other is container.[B]Room is the class which you write, container is a 3rd party class, you can't change the class definition of container.[/B] in the constructor of container, large amount of memory is allocated. In the ctor of room, a small …

0
47
Member Avatar for BattlingMaxo

I want to make a real time 3d aquarium. procedural animation. What compiler should i use? hopefully not to expensive. Dev C++ is free but don't know if i need more than that. i was thinkin about visual c++ What about service packs that i read about i don't want …

Member Avatar for msk88
0
140
Member Avatar for cusa

Hi, I have a problem with strtok(). I have string in this form 2000;ON_0;1000;ON_2; and when I execute this code: [code=c] for ((p=strtok(Seq_String,";"));p;(p= strtok(NULL, ";" ),n++)){ foundThings[n] = p; Send_String_pc("\xd\xa\xd\xa"); Send_String_pc(foundThings[n]); } foundThings[n]='\0'; [/code] I get : 2000 ON_0 10 It is C code for microcontroller and this is not …

Member Avatar for cusa
0
138
Member Avatar for basukinjal

Suppose i have a random permutation of 0,1,...., N-1. Now if i want to get the identity mapping from this can i do anything better than sorting?? I mean, sorting does not take into fact that all nos from 0 to N-1 are in the array or not. But in …

Member Avatar for ArkM
0
124
Member Avatar for plfgoa

Hi, I have been trying to profile code by putting in timing function at the start and end of the function(a function may call some other function and so on ) just before the return statement if the function returns something. The time is calculated in milliseconds. I wanted to …

Member Avatar for Salem
0
135
Member Avatar for c#loser

i learn the basic c++ , i would like to learn how to create a gui program, where can i find some sourse to learn ? and the static , i dun understand it mean , can any one help

Member Avatar for c#loser
0
80
Member Avatar for ovais2k1

I need 2 programs in C language 1.Which create a Box and in a square box it takes input from user and print with in the box.I have made a program but when i take input the box corners are breaking from left and right side please help in in …

Member Avatar for ovais2k1
0
138
Member Avatar for bincy ashok

Assume that a language uses /* and */ pair for comments.Write a C program to check for balanced /* and */ pair in a given text file.Use pointer implementation of the data structure.

Member Avatar for WaltP
0
100
Member Avatar for A_Obrzut

[code] void HandleTCPClient(int clntSocket) { int recvMsgSize; char echoBuffer[32]; char test[32]; char reply[32]; memset(&echoBuffer,0,sizeof(echoBuffer)); memset(&test,0,sizeof(test)); memset(&reply,0,sizeof(reply)); if((recvMsgSize = recv(clntSocket, echoBuffer, 32, 0)) <0) { DieWithError("recv() failed."); } while (recvMsgSize > 0) { if(send(clntSocket, echoBuffer, recvMsgSize, 0) != recvMsgSize) { DieWithError("send() failed."); } if((recvMsgSize = recv(clntSocket, echoBuffer, 32, 0)) <0) { …

Member Avatar for A_Obrzut
0
112
Member Avatar for T&T

Hello, I need your help in this programme. The programme is explained in the attachment file. the main problems are: 1) how can I get specific data from a data file. (as required in 3,4,5 and 6) 2) how can I solve the problem of over written the data file …

Member Avatar for ithelp
0
68
Member Avatar for plike922

I am learn about using arrays and i need help [CODE]#include <cstdio> #include "simpio.h" #include "strlib.h" #include <iostream> using namespace std; #define Max 6 int main() { int power2[Max], i, n; for (i=1; i<=32; i++) { power2[i] = i; i = i*2; } for(n = 0; n<=Max; n++) { printf("%d …

Member Avatar for Aia
0
81
Member Avatar for omdnaik

Hii there Can ne tell me how to compile and run a C prog. using microsoft VC++... Till now i have been using Turbo C++ Compiler...

Member Avatar for Ancient Dragon
0
139
Member Avatar for Karil

Hi Guys I just started learning some C# Coding and i was wondering how i would make an interface for a C# program. If this is a dumb question please dont be too cruel to me.

Member Avatar for natpu
0
143
Member Avatar for loimarie

Hi!i need your help.please help me solve my assignment in numerical analysis,our teacher asked us to get the derivative of a function using turbo c programming language.I really don't have any idea on how to solve this. The equation would be like this [COLOR="Red"]f(x)=3x^2-5x[/COLOR].In this program, the user is asked …

Member Avatar for loimarie
0
160
Member Avatar for swamy kavitam
Member Avatar for Salem
0
61
Member Avatar for wussa

This is in c programming. The question is not with me right now but its like this, the program wants me to input 10 numbers and then find the average,total,maximum and minimum, Then print back the numbers according from lowest to highest. I'm having a bit of difficulty doing it …

Member Avatar for paragt
0
164
Member Avatar for keithmolo

Please let me know if this is possible or even remotely possible! I need to write to a file, but directly to hex. For example, if I write "2D" to the file, i want to be able to open the file in a hex editor and see "2D" in the …

Member Avatar for jephthah
0
192
Member Avatar for lynlyn

please help me with my problem... i have here a running program...but then you have to press the keyboard twice in order to input data.. can you help me to modify my source code???please..my future depends on you...-_- specification: Accepting data in the lists should only terminate only if the …

Member Avatar for jephthah
0
181
Member Avatar for Mr.UNOwen

Hello, This is similar to the thread I did a while back, except this time I need to do it under linux. I'm using the latest version of Ubuntu. Can some some one show me how to send information (an array of char) to the rs232 port (synchronous communication) . …

Member Avatar for jephthah
0
181
Member Avatar for death_oclock

I have the following globals defined (the relevant ones, anyway): [CODE=c] DWORD dwNumMaterials; LPD3DXBUFFER lpMaterials; LPD3DXMESH lpMeshBody; [/CODE] And the call to D3DLoadMeshFromX is here: [CODE=c] D3DXLoadMeshFromX(L"body.x", D3DXMESH_SYSTEMMEM, lpD3DDevice, NULL, &lpMaterials, NULL, &dwNumMaterials, &lpMeshBody); [/CODE] When this is called, it returns a generic error (0x80004005). Also, if it is needed …

Member Avatar for death_oclock
0
125
Member Avatar for mhil_joy

guys.. please check this program this is already running but i have no idea to insert a queue i need all your help guys as soon as possible. I hope that you will grant my request.. thank you... God Bless and more power.. [code=c] #include<stdio.h> #include<conio.h> #include<string.h> #include<iostream.h> #include<DOS.H> #include<process.h> …

Member Avatar for Aia
-2
85
Member Avatar for Clockowl

Hi guys, I've got two loops, and I want to be able to continue; the outermost loop when the innermost loop finds something. How would I do that? [code=c] //(...) for (n = startStorage; n < quadcount; n++) { if (!notOptimized(n, optimized)) continue; int *x = &quadindex[n*4]; for (eachX = …

Member Avatar for Clockowl
0
123
Member Avatar for Traicey
Member Avatar for mdew_47

I have posted the related topic in the Java forum! Now, i am having a very differnet problem altogether. 1. i am being able to call the C program from the Java frame using a "Button" in the inteface. 2. But the problem i am facing now is that the …

Member Avatar for Clockowl
0
100
Member Avatar for mancode1007

[ICODE] #include<stdio.h> struct student{ int id; char name[30]; int mark; }; void main() { FILE*fp; struct student stud; int id_no; fp=fopen("data.txt","r); printf("enter id no : "); scanf("%d",&id_no); while(fscanf(fp,"%d %s %d",stud.id,stud.name,stud.mark)!=EOF) { if(id_no == stud.id) printf("%d %[^\n] %d\n",id_no,stud.name,stud.mark); else printf("Error !\n"); } fclose(fp); } [/ICODE] Hello Everyone,I am stuck at the …

Member Avatar for jephthah
0
2K
Member Avatar for argus512

Hi People, I have been given to work on this program written some 15 years ago for data acquisition but i cannot figure out how to get this to compile as i am getting a lot of compilation errors. Any insight would be highly appriciated. Thanks in advance argus [code=c] …

Member Avatar for Ancient Dragon
0
185
Member Avatar for coolkeg

hi guys, I'm new to C language and am currently using an online tutorial, ive been doing prety well on my own until now. Basicly the problem is with the "while" command, when i copy and paste the code im working with from the tutorial site into a word pad …

Member Avatar for Aia
0
138
Member Avatar for sanbal

I am creating a msi file in windows installer. When the msi is executed, it register some dlls in the registry. I renamed a dll in the code and i manually want to rename the dll in the registry. How can i do this Thanks in advance

Member Avatar for Ramy Mahrous
0
103
Member Avatar for plike922

When i run the program it shows the first line then blank i dont know whats wrong! [CODE]#include <cstdio> #include "simpio.h" #include "strlib.h" int main() { int i, d, t; printf("This program generates all perfect numbers from 1 to 100.\n"); t = 0; for (i=1; i<=100; i++) { for (d=1; …

Member Avatar for Aia
0
94
Member Avatar for ChroNoS

I am still very new to C++ and I'm a bit :confused: too. I am trying to make a program which takes the ascii string from a text file and converts it into binary. I have been able to come up with this code so far: [ICODE] #include <iostream> #include …

Member Avatar for ChroNoS
1
112
Member Avatar for symas

Suppose I have structure like: typedef struct { int a; int b; } my_struct; Is there any way to get/print the name of the fields of that structure (i.e. "a" and "b") programmatically?

Member Avatar for Radical Edward
0
300
Member Avatar for mancode1007

Hey guyz.. I want to know how to print certain line from the text file and certain part of the record for example data.txt... [CODE] 123 John Smith 80 222 chris brown 50 325 christine 60 [/CODE] I only want to print out the name from the record in the …

Member Avatar for Salem
0
128
Member Avatar for plike922

can you check the code... it doesn't work for some reason i tryied everything [CODE]#include <stdio.h> #include "genlib.h" #include "simpio.h" int Fibonacci(int fnum); int main() { int fnum; printf("Please enter in the Fibonacci number: "); fnum = GetInteger(); printf("The number for f(%d) is %d\n", fnum, Fibonacci(fnum)); system("pause"); } int Fibonacci(int …

Member Avatar for Aia
0
113

The End.