General C++ Programming - April 2011 (Page 16)

by Vita
Cant Load array from File correctly??
 
Hi, I have recently tried to make a simple game. I have based the level file like this: NUMBE...
[1 reply] : Solved! Here's the correct code: #define MAX_OBJ 100 #define MAX_PRO... (by Vita)
by manni
Arrays? having some trouble!!
 
i'm trying to write a simple program to perform matrix multiplication, using the array structure e...
[4 replies] Last: ok thanks, looking at it now and trying to make sense of it. (by manni)
Programming Practice: Multiple symbols with the same name
 
I have two nested classes named Level and OStream. The OStream class has a member of type Level: ...
[5 replies] Last: Ah, OK. Very well, I shall put an m in front of the member variable th... (by anonymous23323124)
Global Class Object Extern Fails
 
Hi, So I have tried to follow the tutorials on how to utilize a global class object. I have, in gl...
[3 replies] Last: std has nothing to do with 'ABV'. Since I don't know what ABV is I can... (by coder777)
by Ace70
Fibonnaci Using While Loop Help
 
I'm looking for any hints or tips ( because this is homework ) for correcting my program. The purpos...
[8 replies] Last: typing error while loop should be while (count<num) { } and the leng... (by necsky)
by rrataj
c++ homework help
 
Hi, im learning about floating point values right now. I understand how they are used in averages an...
[1 reply] : int count = 0.0; // I would use simply int count = 0; In the 'while' ... (by Acr)
char arrays
 
i want a statement that will read input from a file and store it into char arrays. i know it is get...
[6 replies] Last: thanks it works good @hamsterman (by mahinkhan22)
borlandc compiler configuration?????
 
hi, im working the problem of c im wanted to compile and generate the .com file of a .c or .cpp fil...
[2 replies] Last: thanks for reply, dear i reinstall it but the problem remain the same... (by sehrish)
changing the display function
 
I am beginner in OOP. I want to use the cout function instead of display to print an object of a cla...
[1 reply] : Google "c++ overload output operator", first hit or any of the followi... (by Athar)
by Acr
set difference
 
Good day. I'm trying to get the set-theoretical difference of a map: Example dataset: 1 3 1 6 2 3 ...
[4 replies] Last: I fixed it. For those interested: /* Set-theoretical difference of n... (by Acr)
by ivanBG
OpenGL problem
 
Hi,I am trying to make a little program with Glut, with DEV C++. I did configured the linker libop...
[4 replies] Last: I solved it with removing glut.lib from the linker, leaving only glut3... (by ivanBG)
C++ file handling
 
Hi, I am using std::fstream for file for manipulating the file. Is there any way by which I can ...
[2 replies] Last: That's a feature of the OS so to actually lock out access from other p... (by Computergeek01)
Cannot convert `double*' to `double' for argument `1' to `void dotProduct(double, double, int)'. - ERROR
 
I hope I posted this help request in the correct forum, if not I'll get it right next time around. A...
[4 replies] Last: No problem :) (by Acr)
exponential and factorial
 
hi all, i've been trying to sort my problem which is cannot figure it out what was the mistake. bee...
[6 replies] Last: Your algorithm is bad. Note that to calculate e x your code calculate... (by hamsterman)
by gpfs7
binarysearchtree
 
i am trying to load my binary search tree i am getting error 9.1.cpp: In function âvoid Load(No...
[1 reply] : Did you mean to pass it to Load as a parameter (like was done for inse... (by moorecm)
by jorgen
Pow function and exponent
 
Does the pow(base,exponent) function check whether the exponent is 0 (thus returning 1) before compu...
[3 replies] Last: Ok, thanks for answers! I will change my code to something like Disch'... (by jorgen)
C++
 
Hello I am new in this field. So i want to ask that C++ is object oriented programming or not?
[1 reply] : C++ is multi-paradigm. So yes, it can be object oriented, but it does... (by Disch)
by Kady
isNumPalindrome(int)
 
I was having a little trouble with this programming assignment for my computer programming class. We...
[3 replies] Last: it would easy to write a function to reverse the number and then numbr... (by necsky)
by jorgen
Multidimensional arrays with unknown dimension as argument
 
Look at title: is this really impossible in c++? I can't pass a multidimensional array as an argumen...
[6 replies] Last: Oh, I didn't realize more people had posted, thank you fun2code for mo... (by jorgen)
help to end plugin
 
i want link url php with downloaddone class if this 101 Acoount Is Active 102 No Code 103 Wrong...
[2 replies] Last: help plz (by sultan1985)
April 2011 Pages: 1... 1415161718... 37
  Archived months: [mar2011] [may2011]

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