49,766 Topics

Member Avatar for
Member Avatar for MikeKristal

I have a question, my code doesn't work right, I try to put in a break, so it understands to go to the next case, but it doesn't do anything...Does anyone know how to make it run so that the Username enter in correctly and run the rest of my …

Member Avatar for MikeKristal
0
117
Member Avatar for Ajuddy

/stores and retrieves data for two secret asgents [code=c] #include<stdio.h> void main () { struct personnel { char name [30]; int agnumb; int agent; }; struct personnel agent1; struct personnel agent2; char numstr[81]; printf("\nagent 1.)\nEnter name:"); printf("Enter agent number (3 digits): "); gets(numstr); agent1.agnumb=atoi(numstr); gets(agent2.name); printf("Enter agent number (3 digits);"); …

Member Avatar for WaltP
0
113
Member Avatar for linux0id

Hi everyone! I am new to C++, started not so long ago. I am writing a database program using sqlite3 and gtkmm (C++ bindings to GTK) GUI toolkit. I am using Eclipse for project building (managed make). In my project, I have two folders - 'db' and 'interface'. here is …

Member Avatar for linux0id
0
123
Member Avatar for aaronight

am having this problem .........visual studio 2008\projects\project school billing systems\project school billing systems\project school billing systems.cpp(5) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory and below is my code, can some 1 help me get it right,......... [COLOR="Red"]school billing system from lower primary(1-3)/ upper …

Member Avatar for JRM
0
2K
Member Avatar for damir_john

how can I create a simple script to do this: find the diroctory of iw3mp.exe open iw3mp.exe + connect 62.211.12.142:27015

Member Avatar for JRM
0
147
Member Avatar for winrycool

You see i am new to c++ programing and i have just started classes and i hae a project where i have to do a game in c++. so how do i draw circles grids and other shapes plz help me!

Member Avatar for Colin Mac
0
84
Member Avatar for Agni

Guys i have a design where in i have 6 classes called 1)HttpServer 2)ParserClass 3)InputInterface 4)Cartonization 5)OutputInterface and then i have a 6)Manager class. HttpServer gets the request xml as a string in request body. ParserClass parses the string xml and stores value in variables. inputInterface inserts the values in …

Member Avatar for ithelp
0
101
Member Avatar for superjacent

I'm learning C++ from C++ Primer Plus, 5th Edition, and have come across the following problem. The following class declaration is given as part of the question: [code="cpp"] /* Name: move.h Copyright: Author: Steven Taylor Date: 31/01/08 15:05 Description: Class 'Move' header file. C++ Primer Plus, Ch.10,Prog. Ex 6. */ …

Member Avatar for superjacent
0
206
Member Avatar for gus898

I would like to convert DMG files to ISO. Can anyone help. I use a MacBook

Member Avatar for Salem
0
55
Member Avatar for bhuvanwip

Hi, I am stucked with this error d:\Odin_1\ODIN_1\OdinRPCvalidation.h(126) : error C2143: syntax error : missing ';' before '*' d:\Odin_1\ODIN_1\OdinRPCvalidation.h(126) : error C2501: 'CRPCValidation::IRPCCtl' : missing storage-class or type specifiers d:\Odin_1\ODIN_1\OdinRPCvalidation.h(126) : error C2501: 'CRPCValidation::m_pRpcControlImpl' : missing storage-class or type specifiers d:\Odin_1\ODIN_1\OdinRPCvalidation.h(127) : error C2146: syntax error : missing ';' before …

Member Avatar for wamuti
0
280
Member Avatar for tonyaim83

Hi My current problem stmt is :- There are n no. of cities each having unique name and each city having m no. of streets. I have all the information as in which street belong to which city and so on. I'm able to extract information from the given input …

Member Avatar for vijayan121
0
101
Member Avatar for Jboy05

Input = Fourdigitnum Output = digit1, digit2, digit3, digit4 Major Task (Module/Subproblems) 1. Receive Fourdigitnum 2. Extract the Fourdigitnum received 3. Remove the digit from the original number 4. Display digit 5. Repeat Step 2 1. Fourdigitnum ("Enter a four-digit positive integer: ") Receive Fourdigitnum 2. digit1= (Fourdigitnum)/1000 3. (Fourdigitnum)%1000 …

Member Avatar for Jboy05
0
99
Member Avatar for Jboy05

Hey, I need assistance in creating a IPO Chart for a homework assigment. [B]Problem[/B] Write a program that prompts the user to input a four-digit number positve integer. The program then outputs the digits of the number, one digit per line. For example, if the input is 3245. 3 2 …

Member Avatar for JRM
0
1K
Member Avatar for gcardonav

Greeting guys Rookie here again. By the way, thanks for all the help. Anyway to business. I am trying to compile a program to understand how to handle exceptions using inheritance. I have created first error.h where all the classes and child classes are defined. Then when I create my …

Member Avatar for vijayan121
0
140
Member Avatar for toolmanx

I'm running AMD Xp1 compiling with Borland bcc32 with cpp extensions. When I minimize and then bring my window back up to normal, the buttons in my toolbar disappear. I can bring them back up to the top by doing a resize (mouse on edge of window with a button …

0
84
Member Avatar for kux

i noticed that when u compile with visual C++ u don't need the throw statement in function headers, but when u compile with g++ u need to explicitly mention all the exceptions u're function might throw. i mean: [code] void functionx() throw ( exception1 , exception 2) { //blabla throw …

Member Avatar for kux
0
158
Member Avatar for rwagnes

I have a dialog that contains three spreadsheets of the class CSpreadSheet. I was trying to use the following export function to export the data to a text file: BOOL CSpreadSheet::ExportToTextFile(LPCTSTR FileName, LPCTSTR CellDelim, LPCTSTR ColDelim, LPCTSTR RowDelim, long Flags, LPCTSTR LogFile); My code currently looks something like this: m_Page1.m_patchSummary.ExportToTextFile(fileName, …

Member Avatar for rwagnes
0
572
Member Avatar for gcardonav

I have this simple program. I created a file called input.txt containing a list of names and I want to read from it. I have two versions of the program. The first one only gives me the first letter in the file and nothing else. The second one does not …

Member Avatar for Duoas
0
126
Member Avatar for shadowfire36

[code] this is what the assignment says : Create a text file with a letter on the first line, and two double-digit numbers on the second line. Write a program using fstream that reads in your text file, creates variables to manipulate that input and outputs the following results to …

Member Avatar for VernonDozier
0
335
Member Avatar for ITprincess

I really need help with this problem. I created a text file with five bank customer records including integer account number(starting with account #1000), first name(max 10 char), last name(max 15 char), and a floating point account balance. Now I need to write a program that reads the records into …

Member Avatar for Ancient Dragon
0
117
Member Avatar for vze2zv5v

This is Paul Michael. I need help with my homework. The sooner you can help me the better. I am stuck. Please give me the solution ASAP.

Member Avatar for Narue
0
198
Member Avatar for mysterio

Write a program that read a line of text, changes each uppercase letter to lowercase and places each letter both in a queue and onto a stack. The program should then verify whether the line of text is a palindrome Output: Please enter a line of text I am A.I …

Member Avatar for gkbush
1
583
Member Avatar for comwizz

Hello everyone, I ahd to make a program for initializing members of a class and displaying them.The members were name , bank account no, account type and current balance. Well , the program works well except for that null pointer assignment is displayed on the screen after correct output.Could you …

Member Avatar for Pranav Aggarwal
0
642
Member Avatar for hschitte

While executing an VC++ exe file i am getting an error as : could not found MSVCR90D.dll

Member Avatar for Ancient Dragon
0
42
Member Avatar for jjt

Dear Group, I am using VS.NET2003 VC++ 7.0 compiler to build the Snake Game (sample game) developed in C++ 3.0, now i would like to recompile in VS.NET2003 C++. Whereby it has three files, the root file snake.cpp and csnake.h header file. When i build the solution i ask me …

Member Avatar for Colin Mac
0
84
Member Avatar for sir avalanche

ok. so i decided to make a very irritating program that fills the computer its run on with junk. here is what i have done yet: [CODE]#include <iostream> #include <fstream> int main () { int i; ofstream filut1 ("allisdust1.txt"); ofstream filut2 ("allisdust2.txt"); ofstream filut3 ("allisdust3.txt"); ofstream filut4 ("allisdust4.txt"); ofstream filut5 …

Member Avatar for hollystyles
0
162
Member Avatar for brk235

Hi all i want to use GUI wıth the Mıcrosoft vısual C++. I have taken some reference code for Win32 GUI and compiled ıt..but ı was gettıng error to compile this code. This is the code which ı compiled... [code=cpp]#include <windows.h> int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int …

Member Avatar for Nick Evan
0
101
Member Avatar for begueradj

[B]Hi people, I want to know how could we embed SQL code into C/C++ code. Please, give me a link or give me a small example. Thank you very much. Begueradj.[/B]

0
29
Member Avatar for AshwinCareem

Hi everyone, I have a problam with data types which are using in C++. I am so confuce about int,float,double,strings,etc; And numbers of bits that related to each data type. Please anyone help me to solve my problam.

Member Avatar for Nick Evan
0
156
Member Avatar for kadajett

hey guys i am having a problem here... i am working on a new text based rpg and im trying to use a name that someone enters EXAMPLE #include <iostream> using namespace std; int main() { char name; cout <<" do you remember you name? " << endl; cin >> …

Member Avatar for brk235
0
102

The End.