49,761 Topics

Member Avatar for
Member Avatar for ramu61

hi folks, i m really fed up these problems....please help me 1.Create a program that implements a database in C++. The fields are hard-coded, and the data is saved in a binary file. Although this isn't really flexibility, you aren't relying on any external libraries or functions. 2.Write a program …

Member Avatar for zandiago
0
221
Member Avatar for kano

u konw how the name c++ developed? or wat does c++ stands 4. c++ is originally named c with classes.

Member Avatar for WaltP
-1
64
Member Avatar for TAboy24

I just started to study C++ by myself and having troubles..lot of troubles i especialy with (6),(7)...anyone knows CPP well enaugh?thank you people..... I'm trying writing a program including information about a student in college: (1)id number of the student (2)name of the student-static string of 20 (3)pointers array of …

Member Avatar for ithelp
0
73
Member Avatar for vigneshvh

hai i am a new user of this site ,i think its helpfull to knowmore about the subject,i want to know that how i can train my self in c++ for doing a projest, and what do all expect form doing a project in c++,kindly,give sujessions 4 me preparing a …

Member Avatar for ithelp
0
104
Member Avatar for toolmanx

Since I closed my thread, I will just open this new one for a comment. I told you I had discovered an item in WinHelp called: "Opening and displaying a bitmap file" If you want a laugh when you get bored, pull that up and look it over. I wonder …

Member Avatar for toolmanx
0
131
Member Avatar for g_loughnan

Hi there, I'm trying to create a demonstration of a modified copy constructor. As can be seen from the code below, I've created a class called Track and defined a copy constructor such that a new object of type "Track" can be defined with the same track artist and album …

Member Avatar for g_loughnan
0
87
Member Avatar for Ahmed Padela

After compiling the program, total 12 errors apreared. Please help me to resolve. All errors are shown in attachment. [code=cplusplus]#include<iostream.h> #include<conio.h> void Merge(int[],int,int[],int); void main() { int A[50],B[50],C[50],MN=0,M,N,z; clrscr(); cout<<"How many elements do U want to create first array with?(max.50)....."; cin>>M; cout<<"\n Enter first array's elememts[ascending].....\n"; for(int i=0;i<M;i++) { cin>>A[i]; …

Member Avatar for Ancient Dragon
0
68
Member Avatar for meiyantao

Hello,everybody! I'm writing a LAN communication programming,and I need to transport a file between different host computer. I know that the TCP is a kind of stream-oriented connection.But look at the fallowing codes: [code=cplusplus] void TripPlanner::sendRequest() { QByteArray block; QDataStream out(&block, QIODevice::WriteOnly); out.setVersion(QDataStream::Qt_4_1); out << quint16(0) << quint8('S') << fromComboBox->currentText() …

Member Avatar for meiyantao
0
182
Member Avatar for boyz

How many arguments can a return statement have Is this possible return(n-1,m+1) in this case what will it return and why

Member Avatar for vmanes
0
86
Member Avatar for chrisliando

Hi I am new in Visual C++ and I want to know how to get all the > information in the listView to textBox/String > variable/ to a binary file /Serialization maybe? > > So if on the listView is consists of: > > Company | Name | Address | …

0
67
Member Avatar for ganbree

I'm using Visual C++ 2005 Express. In my solution I have 2 projects, a static library project and a executable project. The problem starts because I need WinMain() inside the static library to remove almost all the platform specific code from the executable project. How you set the entry point …

Member Avatar for vijayan121
0
1K
Member Avatar for boyz

whats the output for this??? [code] var a; var b; for(a=1;a<=4;a++) { document.write(a +"<br>") for{b=3;b<=5;b++) { document.write(b +"<br>") } } [/code]

Member Avatar for joshua.tilson
0
73
Member Avatar for picass0

Is it posible to delete away a position from STL list? eg. myList have 2 4 6 8 10 1 3 9 If i want to delete away position 9 and position 9 got no value therefore it cant be deleted. so is there any way i can delete the …

Member Avatar for Ancient Dragon
0
56
Member Avatar for boyz

System Information Using C/C++ What would be the header files and the suitable codes required for generating system calls in C++ for the below mentioned purposes:- a. Number of Processes running in the system b. Number of Zombie Processes in the system c. Details of each of the processes: d. …

Member Avatar for Ancient Dragon
0
67
Member Avatar for boyz

what's the difference between: char *p[]={ "ron","is best", "harry","is good"' }; and char *p[][40]={ "ron","is best", "harry","is good"' }; as both are working quite similar for a particular program

Member Avatar for Jishnu
0
46
Member Avatar for black1
Member Avatar for joshua.tilson
0
131
Member Avatar for vigneshvh

hai viewers i am a new viciter of this site,i want to know how a c++ program will differ form a visual c++ program,in what way it will be different from each ther in oth program,pls give sujessions for it

Member Avatar for s69265
0
134
Member Avatar for boyz

Hi friends... i programmed a file handling utility in C. it works fine when compiled under TC++ with fopen() to open a file. but it crashes with error message "Page fault error" when compiled under VC++, Dev C++ etc. I need urgent resolution please help.

Member Avatar for Salem
0
50
Member Avatar for boyz

hey guys...can anyone write the code to clear the screen as clrscr() function does.... chk out this.... void main() { printf("\033[2J"); printf("\033[0;0f"); } but i couldn't able to undrstnd......can anyone xplain....

Member Avatar for Salem
0
40
Member Avatar for Blythe24

Hello- I am having trouble with a program that I have written in C++. My problem is that I can't put the name information into my structure. I am able to add in the "name" the first time around, however, on the second loop it simply skips it and goes …

Member Avatar for Blythe24
0
145
Member Avatar for boyz
Member Avatar for boyz

look at this code in c++ int main() { printf(" "); retrurn(0); } where does this 0 returns plz elaborate it completly

Member Avatar for vijayan121
0
94
Member Avatar for boyz
Member Avatar for iamthwee
0
32
Member Avatar for boyz

How to restrict cursor in crt mode window() fun is used for this purpose but when I press enter it return to next line but my commend is window(10,10,20,20); please help

0
60
Member Avatar for jbstin

hey i found out the vale of pie in a special way. i think it is interesting i am expecting some comments on this. [code=c++] #include<iostream.h> #include<conio.h> void main() { clrscr(); int n[10000]; int i,p=1,c=1; for (i=0;i<10000;i++) { if(p<7) p=p*10; n[i]=char(p/7); p=p%7; } cout<<3<<" . "; for (i=0;i<10000;i++,c++) { if(c==1800) …

Member Avatar for vijayan121
0
224
Member Avatar for boyz

hi...i m an engineering student. i have assigned a project of simulation of cpu scheduling algorithms. can u plz help me out. after calculaing all the time etc hw can i simulate the whole scheduling?

0
54
Member Avatar for towhoe260

This is my assignment. Write a program to convert between yards and meters. Your solution must utilize functions to perform the conversions. Your functions must meet these requirements: One of the functions must use pass-by-value, returning the converted measure One of the functions must use pass-by-reference to store its result …

Member Avatar for WaltP
0
733
Member Avatar for towhoe260

This is our assignmenWrite a program to convert between yards and meters. Your solution must utilize functions to perform the conversions. Your functions must meet these requirements: One of the functions must use pass-by-value, returning the converted measure One of the functions must use pass-by-reference to store its result (the …

Member Avatar for WaltP
0
195
Member Avatar for jray344

I need to write a recursive function reverseInput that until the user enters zero it keeps on accepting numbers, then when done, outputs them in reverse order. Only thing, i cannot use strings or arrays or anything of the like and it must be done in one recursive function. It …

Member Avatar for Ancient Dragon
0
112
Member Avatar for vigneshvh

hai i am a new user of this site , i want to know how can we develop a program that can be used in shops 4 billing,which should be more user friendly,having fine look,and more convienentpls tell how to do this program, tanku

Member Avatar for Ancient Dragon
0
132

The End.