General C++ Programming - February 2012 (Page 10)

OpenGL tutorial?
 
Hi, can anybody tell me good source for learning OpenGL? I m searching and I also find some source...
[3 replies] Last: tnx (by Anon777)
[SOLVED] 64 bits standard lib functions (like atoi) ?
 
I have to deal with values going from 34 bits to 42 bits and convert strings of such values into u_i...
[6 replies] Last: Thanks very much. (by lalebarde)
Collecting and logging data
 
Hello.. My friend and I are writing a program for an honors project that is going to analyze stock q...
[1 reply] : That's the sort of thing you need to pay for. Is the problem with get... (by kbw)
Enumerating Removable media?
 
Hi guys I'm stuck on a piece of code, I want to get the address of any removable media (Including...
[2 replies] Last: I checked WMI and I can't seem to get it to work, is there any way? I... (by Zinglish)
by kribel
Using / returning an iterator
 
Hi all, I just read the iterator reference at cplusplus.com and a chapter about iterators in a bo...
[7 replies] Last: Many thanks to all of you. @clanmjc: I know that I am exposing privat... (by kribel)
Combining Time Complexity
 
how you would compute/denote the time complexity of two loops based on different variables? I under...
[2 replies] Last: You are correct that the time complexity is O(MN). You say that "M hap... (by Peter87)
Arrays (1,2)
 
Hi Folks, I need to know how to use arrays to open a file containing a text and read it into my p...
[27 replies] Last: Can you post the code they were in? If they were by themselves like th... (by LB)
*** glibc detected *** double free or corruption (fasttop): 0x09499008 ***
 
Hello fellow programmers. I am new to c++ and also fairly new to programming. I have been given an ...
[2 replies] Last: It's a requirement for the assignment to use dynamic arrays. Again, I'... (by adjoiningPanda)
by Syl
Making a Game Menu
 
So, I am trying to make a function where the user can hit and a key and be taken to a menu system, m...
[1 reply] : Depending on the logic of your game, a pause menu would be rather simp... (by ModShop)
by LB
How does the compiler know?
 
Warning: this post contains C++11 code. LB is not held responsible for loss of comprehension. ...
[4 replies] Last: Thanks, I wasn't too concerned with how auto works. I was more concern... (by LB)
by Phiru
How to get USB format ??
 
There are two or more type of format methods of USB. One is FAT and another is NFTS. I want t...
[no replies]
by Rudey
malloc/calloc in C subroutines
 
Hi all, I want to implement a C subroutine, in which memory is allocated using malloc or calloc. ...
[2 replies] Last: Thanks a lot! (by Rudey)
Easy Game Programming Language
 
So for the longest time I have been trying to find a simplistic way to create 2D games in C++. I hav...
[no replies]
two dimensional array
 
programmed something that will group numbers from 11001 to 111999 but I wanted it to run like this:...
[no replies]
by snova
template specialization problem
 
Hi Everyone, I am facing compiler error with the following code in VS 2005; It points to templat...
[5 replies] Last: Thanks clanmjc. It does work perfectly, and I understand too. (by snova)
Regarding null character
 
Hi, I want to clarify, for the program I have written, is the reason var 'third' doesn't output to s...
[3 replies] Last: right. <string> and <cstring> are 2 different headers. <string> ha... (by Disch)
by raffos
Replacing accented characters in a string
 
Hi Everyone, I have this problem. I have to copy a string read from a database into a char buffer...
[9 replies] Last: Solved, the problem was that I was working with string instead of wstr... (by raffos)
by rzaj
Help with how to clear the input stream
 
I have a project where a user enters a series of integers, and the program must display the highest ...
[2 replies] Last: I was able to figure this out. Thank You. (by rzaj)
by jwings
Expression: string subscript out of range
 
int equals(string str1, string str2) //return 1 if str 1 == str2, 0 if str1 > str2 || str2 > str1. ...
[4 replies] Last: 1) A function called equals should test to see if the two strings are ... (by ciphermagi)
Two-one dimentionl Random/ Set Array! help me!!!
 
Scenario: You're conducting a study on the number of people that ride the METRO each day. After col...
[no replies]
February 2012 Pages: 1... 89101112... 43
  Archived months: [jan2012] [mar2012]

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