General C++ Programming - March 2010 (Page 4)

by AaronB
Inputing from file to parallel arrays
 
I am trying to write a function that will input from a file to parallel arrays. i have a file that ...
[1 reply] : Are you having any problems with that? Also, a little suggestion: ... (by hamsterman)
nested for loops
 
# include<iostream> # include <cstring> using namespace std; int main () { for (int i=1; i<...
[5 replies] Last: What is the point of this exercise? Just to start off printing 18... (by Dacster13)
Unresolved Token Errors in Class
 
I am just learning C++, and am having a hard time with creating a class definition. Can you please h...
[3 replies] Last: I tried a different compiler and had similar errors to what EAStudent ... (by Scooter513)
GNU C Compiler and MinGW
 
Hey all, I'm new here and would like to be sure I get into the right thread with these tools. Ca...
[2 replies] Last: Yes I have used that one from http://sourceforge.net/projects/mingw/f... (by Douglas)
error 2440 and 2068
 
I keep getting these errors and I can't figure out how to fix it. The errors are at line 17 and 20. ...
[2 replies] Last: ok, I got that 2nd error cleared up but I don't understand fully what ... (by marty3333)
Class Instantiation
 
Hi all, just a general question I have. If I create a class with my data members containing other...
[1 reply] : Will the Objects default constructor be called automatically to creat... (by Disch)
Global namespace error
 
Está apareçendo este erro no arquivo math.h: Erro: 1>c:\arquivos de programas\ogresdk\nxogre...
[no replies]
Unresolved external symbol
 
Hello everybody. Please if you can help me this, I've used different media but nothing certain. I'm...
[5 replies] Last: thx for the answers. The problem is solved. must be properly set up th... (by dokfiler)
singleton
 
which would you prefer and why? A class with all static members(data and function) or a singleton ...
[8 replies] Last: I actually use a class like this in one of my current projects. But a... (by imi)
by ajwest
how to pass a function to another function
 
im trying to pass two funtion one is call void sort arrys which would sort the arrays and the other ...
[1 reply] : You are never calling sortArrays (by Bazzy)
by Zendet
Bad array initalisation?
 
Could someone tell me whats wrong with it? want to make the array of strings, and then have it so...
[4 replies] Last: 1) You spelled "length" wrong. 2) The random code as in random_shuffl... (by closed account S6k9GNh0)
Secret agent game stuck
 
Description: Develop a secret agent game. The player will play the part of some famous secret age...
[10 replies] Last: got code to work, thanks guys!! (by skyline2k7)
by Thr3sh
Building off .obj file
 
I need help with a .obj file I was given in my class. The professor included a Explorer.h and a Expl...
[2 replies] Last: How do you link the files at the end? I get what your saying, just c... (by Thr3sh)
Project to recover UnderC C/C++ interpreter
 
Hello ! I'm managing to update UnderC C/C++ interpreter to work with modern c++ compilers, actual...
[2 replies] Last: If not I'll not been doing it ! (by mingodad)
by NGen
Return 3;
 
For some reason my program is returning with a code of 3. My program starts, creates a window, initi...
[1 reply] : Without code, the only thing I can give you is this link: http://www.... (by R0mai)
by NGen
STL Not Thread-Safe
 
I've heard this mentioned multiple times, but I have no idea what people mean when they say it. Anyo...
[5 replies] Last: You can use TBB library. http://www.opentbb.org There are many alg... (by Denis)
Ifstream C++|Get access to exact line instead of reading the whole file?
 
So - Like i mentioned in the title: I work with .txt files and the file has for example 40 000 line...
[3 replies] Last: LOL - I'm not too lazy... - But I really couldn't find it myself. Howe... (by selector)
How can I rotate a 3d Object (cone) ?
 
A set of vertices together represent a cone. Imagine that the Tip of the inverted cone is on the ori...
[1 reply] : You need to read up on 3D coordinate manipulations. Part one here give... (by Duthomhas)
What will be the output for it ?
 
Hello everyone .. I just looked at a question .It was written something like that . int i=10...
[1 reply] : What do you think it is and why do you think that? The answer is ... (by closed account z05DSL3A)
by kerlon
problems with header file (code to find extrema (turning points))
 
so.. my code is analysing some data and extracting the extrema.. (supposedly) the structure of ...
[6 replies] Last: Thanks again bazzy.. I got it working eventually! What I ended up... (by kerlon)
March 2010 Pages: 123456... 23
  Archived months: [feb2010] [apr2010]

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