General C++ Programming - October 2010 (Page 15)

by Ponxy
From .dat to dynamic memory
 
Sory if there is another topic about that issue but can you please help me with making a code in C++...
[1 reply] : That depends on the file format (.dat doesn't indicate any file format... (by Athar)
by Null
Macro problem
 
Hello, I can't compile this code #define CATCH_EXCEPTIONS(c)\ try{ \ ##c ; \ } \ catch(......
[3 replies] Last: Not a great use of macros, I must say. For one thing, macros should... (by jsmith)
would ever passing a primitive to functions by reference be more effecient ?
 
In a scenario that a caller function needs to pass one of its local variables of a primitive type to...
[3 replies] Last: I wrote this article to once and for all answer this question. Bazzy'... (by jsmith)
booooo
 
boooooo spam!!!!
[2 replies] Last: but the program still isn't returning the array..i think there is some... (by wajahat)
String Stream Errors
 
I was wondering how to clear a string stream variable. Heres an example of what I'm using it for: Y...
[5 replies] Last: There's no difference, you're still using a stringstream . (by LB)
matrix operations
 
Hello, If anyone knows anything about numerical computing, I'm looking for information on the spe...
[no replies]
by fukki
What sort algorithm to choose
 
I want to sort 12 Full Names alphabetically. What algorithm to choose? I use char array to store...
[9 replies] Last: Ok, i understand. Thanks a lot Duoas! (by fukki)
by fukki
After sorting can`t change bool value
 
Hello.. I try to build a data structure with those options a) Book a student b) Delete a stude...
[no replies]
by fukki
Read strings and bool from txt
 
Hello ! I have array of struct and i want 1] when i run the program to load the data from it. 2...
[no replies]
by fukki
Array of Struct Sorting
 
I have read many topics regarding sort but i wasn`t able to sort them. I am new in C++. What changes...
[2 replies] Last: I just had to my code one more cout before the loop :/ Topic solved! (by fukki)
by peel
graph connectivity!!!
 
I need to find a graph whether it is connected or not with using matrix. For this problem I'm gonna ...
[2 replies] Last: thanks but I need more than luck :P (by peel)
removing of underscore in outfile
 
infile consist of: things with underscore. eg. C_plus_plus code: struct { char name ; } ...
[4 replies] Last: Post your code - much easier and less time wasting. (by guestgulkan)
queue on linkedlists
 
Hi. I'm trying to modify the following code to be able to eliminate the tail node instead of the hea...
[no replies]
by raz23
error in program; extra symbol needed?
 
Here's the program: #include <iostream> #include <iomanip> using namespace std; #define LOWER...
[5 replies] Last: If you don't assign anything to power, of course it will contain gar... (by ne555)
error LNK2005 ...killin me!
 
My instructor gave me an assignment that involves modifying a class that HE has already prewritten. ...
[2 replies] Last: thanks Disch, I removed line 6 from the cpp and it seems to be working... (by jopeters)
by LB
How to catch a throw; ?
 
I know it seems odd, and indeed it is and I would never do it, but I am just curious: try { thr...
[3 replies] Last: Ahh, thanks. I understand now. :) (by LB)
:))
 
C++ programming issues need to solve it
[2 replies] Last: I'm going to try to speed through the C++ guide in a few hours. If I c... (by slackPLUSPLUS)
error: conflicting types
 
Hi, I am trying to compile the Detri code from http://www.geom.uiuc.edu/software/cglist/GeomDir/#...
[1 reply] : bzero/bcopy can be replaced by the ANSI C functions memset/memcpy. ... (by kbw)
a new string class
 
Hey, this is just a question: Would it be useful to have a new string class ended by the new line \...
[8 replies] Last: [quote=sargon94]also I want to add things like the divide operator. yo... (by filipe)
C clear screen (1,2)
 
Hello, I'm trying to find a simple, cross platform way to clear the DOS screen. It doesn't really...
[34 replies] Last: ok, ok, I get it... let's move on. (by sargon94)
October 2010 Pages: 1... 1314151617... 23
  Archived months: [sep2010] [nov2010]

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