Beginners - January 2014 (Page 21)

C++ simple OpenGL, WinXP support?
 
Hello, I want to write (and learn) a simple-as-possible OpenGL program, using the latest version of...
[6 replies] Last: Am I not understanding something? Yes, mainly that when a program is... (by Computergeek01)
by enemy
What is the value of "i"-PLEASE URGENT!!!
 
Write your question here. /* sscanf example */ #include <stdio.h> int main () { char s...
[5 replies] Last: enemy, there is an abundance of reference material for C++ and the var... (by MikeyBoy)
Replace the text numbers string in a txt file using C++.. Help Me..
 
For example: Before Document: hai hello my daily salary is two thousand and five and you...
[1 reply] : The easy way to do this is to come up with a number of easier steps to... (by ShodanHo)
Multi-dimensional arrays, pointer-to-pointer method
 
Hi guys! So I get that a two-dimensional array, when created using a pointer-to-pointer method, i...
[1 reply] : Remember the operator precedence rules: p_p_x is same as (p_p_x )... (by keskiverto)
by enemy
IDEONE input -... textarea???
 
Hello! Please, can someone help me to manage this in IDEONE usig input? MANY THANKS!!! #in...
[2 replies] Last: Fine!!! Thanks!!! (by enemy)
by enemy
What is LINE here?
 
Hello! Is here "line" just identificator for a string? string line; ifstream myfile ("e...
[3 replies] Last: Thanks! (by enemy)
changing letters value and binary conversion
 
so i'm attempting to change the value of chars (a-z, and 0-9) to 0-35. (a is 0, z is 25, 0 is 26, 9 ...
[9 replies] Last: > its now freezing no matter what i do and i can't tell why... The c... (by JLBorges)
by hilft
set_union problem
 
My compiler says there is an error "instantiated from here" which I have no clue what it means. Can ...
[1 reply] : > error "instantiated from here" which I have no clue what it means th... (by ne555)
Please help
 
Need help on a program I have to write for class. It is a "player vs computer" game of "23". The pla...
[1 reply] : Personally I would have a bool that keeps track of if it is currently ... (by Hippogriff)
dont understand "input.size()"
 
I received this code as help for formatting two arrays to print out into two columns. This code wor...
[4 replies] Last: Wow! Thanks for the help all! Looks like I've got some reading and le... (by Khillz3000)
CYK Algorithm, Problem in Vector<strings>
 
Problem in the for loop starting on 68th line of code. Please kindly rectify!! #include<iostre...
[6 replies] Last: what should I do to not make an array on the stack from a variable wh... (by cire)
Reading from a stream
 
Hi guys :) Does reading from a stream change the stream? If so, how? Thanks!!
[1 reply] : Yes, reading from a stream changes the internal state of the stream. T... (by LB)
Floating points within range and strings in Switch statement
 
When I enter anything that is a floating point within the range of 0-5 (like 1.7) or any string (lik...
[1 reply] : 1.7 cannot be read into an integer, so the read operation fails withou... (by LB)
Class object not taking parameters?
 
So i made a class called Sprite, it takes the following parameters(this is using the SDL api but i d...
[1 reply] : Looks like visual studio was simply confusing me as to what the constr... (by Penanito)
by hilft
deque question
 
I get a compiler error and it says " no matching function for call to 'std::deque<int>::insert(std:...
[2 replies] Last: insert() takes deque::iterator and a value. You're trying to pass dequ... (by Cubbi)
by b1gzz
signed variables need to be specified?
 
I'm reading a C++ book, and I'm on the part of the variables. My question is: do we need to specify ...
[3 replies] Last: Thank you very much. (by b1gzz)
Random in Cgl?
 
Hello, im trying to make a simple cgl game. but i just cant find how to give a random number to a...
[4 replies] Last: > is there a more simple way? Difficult to find something simpler tha... (by JLBorges)
const member functions
 
Hi guys :) Can someone please explain the const modifier in the following line of code: std::s...
[3 replies] Last: Fantastic! Thank you both!! (by ValerieChiang)
Help with Programming Project!
 
I'm working on a Programming Project from the Absolute C++ book, in Chapter 18. I have the followin...
[4 replies] Last: You could create an extension to std::exception and throw an instance ... (by IWishIKnew)
by b1gzz
Returning values from a void to integer
 
So, I was reading a book and it said if I had a limited variable (not a global variable) from a void...
[3 replies] Last: Thank you Mutexe and Stewbond for your replies, they really helped me.... (by b1gzz)
January 2014 Pages: 1... 1920212223... 44
  Archived months: [dec2013] [feb2014]

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