General C++ Programming - May 2010 (Page 8)

Text - based RPG Menu
 
Oi! I'm trying to build a menu for a text based rpg. So that whenever your done "doing something" it...
[3 replies] Last: By 'standard' I did not mean 'specific', but rather that this it is no... (by Athar)
Segmentation Fault with Fork()
 
Hello, im having a problem with my vending machine code. We are using the Fork() fonction, basicly,...
[2 replies] Last: Thanks! (by vincent90)
by zelin
hexa decimal problem
 
i am just messed up .. how can i store a hex no. as an adress of a varaible e.g i got an integer...
[5 replies] Last: [quote=zelin]i need to give a manual address to a specific variable ... (by Galik)
sprintf inside a for loop
 
Hello, inside a for loop I need to perform "n" sprintf commands to compose a sql statement. For t...
[2 replies] Last: Hello kbw, checking some older source code, we found a solution tha... (by mauricioramos)
vtable offset 0
 
What exactly does this mean? function=&virtual table offset 0 (The function is a static member f...
[8 replies] Last: Thanks a lot :-) (by attaboy)
by Trav
Configuration File
 
The following code I'm using creates a runtime error, I'm unsure why. What have I done wrong here? ...
[2 replies] Last: szPath is always being set to the default now. char szPath ; DWOR... (by Trav)
convert c++ to c ; Library Source
 
#include<iostream.h> #include<conio.h> #include<stdio.h> #include<string.h> //================...
[1 reply] : I'm sure there's a question somewhere, I just can't find it. (by kbw)
Printing Ascii symbols
 
I am trying to simply print an ascii code symbol in a visual studio c++ console app. For example:...
[10 replies] Last: Super! Thanks a lot. (by brian20)
unidentified problem with stl
 
I got the following code: #include <iostream> #include <fstream> #include <algorithm> #includ...
[2 replies] Last: THANKS kbw VERY VERY VERY MUCH! for q!!!!!!!!!!!! (by agajantorayev)
by indigo
Top Level (^) objects
 
Hi, can someone give a brief explanation of so called top level objects (with ^ near type) that app...
[9 replies] Last: Ok, this is how it is - in my client app i have this code: public: v... (by indigo)
C++ STL string pointer assignment
 
Hi,all. Codes first. #include <string> #include <iostream> using namespace std; int main(){ ...
[3 replies] Last: I would just like to point out this line here: if (str1) { de... (by closed account 1yR4jE8b)
by grana
Associative array/std::map/dense_hash_map slow
 
Hi, I've some trouble implementing a kind of associative array. Basicly, the structure is like...
[no replies]
inverse of a matrix
 
how should i write a prog to get an inverse of a matrix it comes in what area of c++
[6 replies] Last: I'm not very familiar with matrix libraries but lapak http://www.netli... (by RedX)
Game maps
 
Hi i have been following a tutorial on how to make a jump and run game. However im not sure how the ...
[2 replies] Last: What do you exactly want ? (by bluecoder)
getting the iterator to a vector of iterators
 
I get a compiler error at this line, any ideas? vector<set<SomeClass>::iterator>::iterator i...
[3 replies] Last: You must be careful to read all the side-notes about iterators when st... (by RedX)
by scapal
multiple inheritance wizardry
 
Hi I'm a bit confused here :-| The following code displays: func_1 func_2 where I would...
[10 replies] Last: dynamic_casts and static_casts are, i know people will complain about ... (by RedX)
Error in structure, trying to cin info from text file.
 
#include <iostream> #include <cmath> #include <iomanip> #include <fstream> using namespace st...
[9 replies] Last: http://cplusplus.com/reference/string/string/c_str/ ^That's how. *win... (by Albatross)
by cshong
Firewall programming
 
We are studying computer science course. For our final year project, our group is considering making...
[3 replies] Last: Reply to Incubbus, the time given is 1 year. Reply to Computergeek0... (by cshong)
Getting characters to show up on "run" screen.
 
When I run a program with (for example) the line: cout<<☺<<endl; (I get the ☺ by holding in...
[1 reply] : What was wrong with your existing topic? http://www.cplusplus.com/for... (by Duthomhas)
How to get classes to call upon each other?
 
I have a class defined above int main, and i have a class in a .h/.cpp format. I have the #include "...
[4 replies] Last: After re rereading my post I think I could be a little more clear. he... (by wtf)
May 2010 Pages: 1... 678910... 22
  Archived months: [apr2010] [jun2010]

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