General C++ Programming - March 2011 (Page 19)

Writing files
 
I have some data that I'm writing as XML, but the file size is a little large. I was looking for a w...
[6 replies] Last: It does. I've never used one but there are compression libraries out ... (by moorecm)
by sadon
arrays
 
Hello, Everytime I try to run this code, it compiles with no errors. but when I run it it gives a...
[2 replies] Last: the array demand is n=18. so im using "n" to scan all the rows an... (by sadon)
by ldeeph
Arrays(one dimentional)
 
hey,can anyone help me with this practical.i'm new in programming and i wana do this prac myself,but...
[1 reply] : http://www.cplusplus.com/doc/tutorial/arrays/ Scroll to the bottom se... (by hamsterman)
c++ with ms access
 
Can we connect with C++ with ms-access, I am not speaking about vc++, ordinary c++, please post any ...
[2 replies] Last: Can we connect with C++ with ms-access OLE Automation or accessing t... (by closed account z05DSL3A)
Switch case error.
 
Hey guys, I'm creating an RPG for my C++ class and I've run into a bit of an awkward error with a sw...
[3 replies] Last: I'm not sure if this is your problem but when declaring variables insi... (by Breadman)
Assertion Error: Expression:(stream !=NULL)
 
Hi, I've been working on a code for a text processor and after creating this bit of code it start...
[no replies]
Do Nothing Command?
 
Is there a "Do Nothing" command in c++? As in, when you press the wrong key it just sits there and w...
[3 replies] Last: cool - thanks guys! :D (by timmah1493)
Linker error - cannot resolve it
 
Hi to all! I am working on some modbus application and I've got evaluation modbus library, which ...
[1 reply] : Could you post the files for MbusSerialMasterProtocol ? Seems like co... (by onur)
Printing the name of a function
 
Is it possible to print the name of the function from where the print method is being called? Go thr...
[2 replies] Last: I got the answer. In general, it is __FUNCTION__. This works well both... (by krishnendu)
Pi Calculator Returns NAN, Is not Precise
 
I wrote a utility that's supposed to calculate pi, but running it with a number of loops over about ...
[3 replies] Last: Try pi=Atan(1)*4 or something equivalent for Atan (by buffbill)
Someone teaches me how to compile (c++)?
 
I want to learn to program in C + +, and for that I try to not only learn the language from a theo...
[1 reply] : If you are just starting out I would advise to buy a book on it. Ther... (by NetMage)
Seeking guidance for first project
 
Hello, I am a Comp sci/math major. I am embarking on my first true project and am seeking feedback ...
[3 replies] Last: Bump. Is there anyone who can explain or at least give a direction as... (by NetMage)
Someone teaches me how to compile (c++)?
 
I want to learn to program in C + +, and for that I try to not only learn the language from a theo...
[no replies]
Cin Problem EASY.. HELP
 
I am trying to separate input by a comma cout << "Rectangle: Please enter width and length: " ; cin...
[1 reply] : char c; cout << "Rectangle: Please enter width and length:"; cin >> r... (by PiMaster)
fstream to read formatted file (gamesave)
 
I am creating a RPG that will take the player some time to complete. Therefor, I need to have gamesa...
[6 replies] Last: Thanks, TinyXML looks like it would fit my needs best. It appears rela... (by ModShop)
Help with Debug Assertion Failure
 
I am working on a project that converts a char array to a float, however I keep getting a debug asse...
[4 replies] Last: Got it. Thanks for the help! (by jetskiguy)
thread question
 
I am starting to work with threads but do not understand the syntax of this... _beginthread(threa...
[9 replies] Last: Correct? yes Is that timing due to how fast the second thread is cr... (by hamsterman)
Is this safe
 
1. Can i safely reuse my pointer like this: DWORD len = SomeFunc(); if(len <=0) return; w...
[2 replies] Last: Thanks. It will be used in (scope of) some small function so i'll dele... (by savavampir)
trying to read input from console & write to file
 
I'm perplexed. Assignment I've given myself is to input a filename from the console. Create a ...
[3 replies] Last: Thank you Bazzy for taking the time to help!!! It is much appreciated... (by jim3222)
multiplication at 2 tables
 
You have two tables of integer A(NXM), B(MXR).Write a program which finds the product of the 2 table...
[6 replies] Last: gcc would let you create multi-dimensional arrays like that, but it is... (by simeonz)
March 2011 Pages: 1... 1718192021... 31
  Archived months: [feb2011] [apr2011]

This is an archived page. To post a new message, go to the current page.