General C++ Programming - May 2013 (Page 24)

what is instantiated
 
i am trying to push_back a vector but the compailer tell me: instantiated from here non-...
[7 replies] Last: Hmph. From gcc, I get: error C2660: 'Function' : function does not t... (by cire)
Static Variables
 
From my book "There are some things you can’t do with automatic variables within a function....
[11 replies] Last: Alright thanks Zaita! Thanks Daleth for your help, your examples were... (by Anmol444)
Do while loop buggy [Need helps]
 
int pincode(int chance,int pin){ int actualPin = 1103; if (actualPin == pin){ chance = cha...
[1 reply] : This condition (chance != 4)||(chance!=0) is equivalent to true , b... (by KRAkatau)
The Output comes correct in some cases and wrong in some..
 
Here's the program. It was supposed to make the user enter the contents of an integer array. Display...
[3 replies] Last: Note: c) is correct 52 is in position 3.... remember the first element... (by buffbill)
by bobr
infinite loop
 
I am having issues with the code bellow. A programmer pointed out to me that I am going into an infi...
[17 replies] Last: @ republic So I reported your post, which removed it. If you don't w... (by TheIdeasMan)
prime numbers
 
So, I am trying to find prime numbers between 1 and 100. I know what prime numbers are. I am using t...
[6 replies] Last: cool,will keep this in mind!! (by dhruv90)
by Amazon
Help with build errors
 
I am using Xcode. For some reason I am getting errors with the following code. #include <iostrea...
[1 reply] : class B : public virtual A (by republic)
Opengl simple blending problem
 
Stuck on things I shouldn't be stuck on as always :D. I have been messing around with glBlendFunc t...
[4 replies] Last: You're very welcome, glad it's working! (by xismn)
string stream search
 
I am working on a project which is a fairly simply BAC calculator. I am attempting to grab data from...
[1 reply] : You're only reading the first line of the file. The getline needs to b... (by norm b)
integrator coding for c++
 
hi.. i am currently doing my project which is using matlab simulink software. i have got problem to ...
[4 replies] Last: currently i am doing my simulation by using Matlab simulink software. ... (by mamahanna)
by pzmf
Need help with my homework
 
This is my assignment Assignment #16 due 5/14 Gas comparison cost of various cars. A company has ...
[5 replies] Last: Thanks for the advice and solution! (by pzmf)
Simple Question
 
I got a question that's asking "A very large array of elements is to be sorted. The program will be...
[no replies]
by Ludidi
Arithmetic Operators
 
The Program must allow users to enter any two positive numbers and then display the results. i'm st...
[2 replies] Last: sorry it wont happen again the thing am very very desperate (by Ludidi)
How to use '&' and '>>' on a double number
 
Hey, I am working on a project where I need to retrive a double number and store 8 bits of the num...
[1 reply] : floating point numbers have intricate inner structure, so there is no ... (by MiiNiPaa)
string loop rectangle display
 
I have been writing a code to display a "mailing label" with user input. The "label" is a rectangle ...
[no replies]
Saving tree to file
 
So I have this game that builds on it self 20 questions and it improves as it learns from you howeve...
[2 replies] Last: // FILE: useful.h // PROVIDES: A toolkit of useful functions for rand... (by OLittleO)
compailing problem
 
i cant understand what the problem with my code header file #ifndef ROBOTDB_H #define ROBOTDB_...
[1 reply] : http://www.cplusplus.com/forum/articles/40071/#msg216270 grep error (by ne555)
C++ multiple choice questionaire
 
Could you check if the answers I chose are correct? I want to double check that I am understanding t...
[15 replies] Last: variable length arrays are supposedly only in C99, and hopefully neve... (by Cubbi)
by cgw122
Random images with Gdi+
 
I am attempting to read a random image out of a directory using gdi+. I am attempting to do it by b...
[no replies]
data from txt file into array
 
#include <iostream> #include <fstream> #include <string> #include <cmath> #include <stdio.h> ...
[4 replies] Last: I made the changes you suggested, as you can see below string bac , p... (by tonismahonis)
May 2013 Pages: 1... 2223242526... 47
  Archived months: [apr2013] [jun2013]

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