Beginners - November 2015 (Page 36)

glDrawElement error
 
I have a minor, but annoying problem. Whenever I exit my program, I get a Unhandled exception at 0x5...
[7 replies] Last: That'll work! Just make sure you don't make any draw calls after the ... (by JayhawkZombie)
Reading a txt file to create 2D and 1D arrays
 
I am asked to read a txt file that looks like Tom 50 60 70.5 Jerry 80.3 65 91 Mark 75.2 77 92.7 Luc...
[14 replies] Last: Can any one plz just write me some codes??? I really want to do this m... (by lawgarra318)
Another question
 
Can I pass a member function of a class as a parameter to another function? #include <string> ...
[5 replies] Last: Can you show your latest code? (by koothkeeper)
by guru23
Recursion example
 
Hello, I know the returned value will be 9 in this code, but how? I've been staring at this for ...
[5 replies] Last: This is perfect!! Thanks a ton! (by guru23)
Knight's Tour
 
I have to make code for knight's tour. Knight chess can visit only one box only once. Starting posit...
[4 replies] Last: You need some way to backtrack when you can no longer continue along a... (by cire)
Static questions
 
Hi, I was trying some class features such as static members(data members or member functions), and f...
[6 replies] Last: Does make sense, thanks. I'll try some examples. (by duke2015)
Swap Function For Array
 
Hi, I need some help with swapping elements within the Array. I already have the construct array ...
[4 replies] Last: Thanks a lot Jay, the explanation cleared my doubts. I actually knew... (by OmfgWdf)
Array problem
 
So, the problem is the following: There is an array of buildings, with various heights, in a posi...
[17 replies] Last: Stop arguing the point grub. You didn't follow the thread and tried to... (by closed account 48T7M4Gy)
Fail But No Fail
 
I used the following code. I can read the files successfully but the In.fail(); gives true value af...
[5 replies] Last: If you're treating a file as a binary stream, open it in binary mode. ... (by cire)
C++ Assignment
 
Write your question here. Hi all, Hope everyone is doing great, i just need to confirm that i've be...
[2 replies] Last: Hi Jgg2002, Can you rebuilt the syntax if possible? (by Salman4th)
How to divide array?
 
Hey guys, it's me again! I just want you to help me getting done with this code. My program is about...
[3 replies] Last: [quote=warshock10]Can you please write down the code for me dude? :) ... (by Hirokachi)
Functions u
 
I am trying to get the number of times the function validegrades is used to be printed. #include...
[1 reply] : If you want to know how many time that function "validgrades" has been... (by Hirokachi)
Swap Function For Array
 
Hi, I need some help with swapping elements within the Array. I already have the construct array ...
[1 reply] : What do you need exactly? To swap elements like the 3rd to be put in t... (by jgg2002)
Swap Array Function
 
Can someone guide me on swapping the array within the element? Please. #include <iostream> #i...
[no replies]
Multithreading:binary semaphore vs mutex
 
Hi All, I have researeched a lot on binary semaphore and mutex and still confused about whats the f...
[5 replies] Last: Here is another article about mutex vs semaphores. http://www.geeksfo... (by coder777)
Functions part 2
 
Hello I keep on getting errors with my code.. Here is the scenario: , there will be 3 functions: c...
[12 replies] Last: Not really, did you read the documentation for that error? It's reall... (by Thomas1965)
How much time do i need to invest z(amount) : from compound interest
 
Hello everyone; I am struggling with a simple calculation here. Question: Write a program that calc...
[8 replies] Last: #include <iostream> using namespace std; int main() { //Variabl... (by closed account 48T7M4Gy)
What's the suggested way of reading from/writing to a file?
 
I have a simple program that manages collections of items by doing a few CRUD operations. For now, i...
[4 replies] Last: Im not so sure you can just copy paste the serialize code, it will mos... (by Jaybob66)
by bastri
Doubt about const in constructor char*
 
1) Cadena(char* c) : cad(c){} 2) Cadena(const char* c) : cad(c){} 2) isn't p...
[1 reply] : You can't assign a const char* to a char*. It you could the char* coul... (by Thomas1965)
Array Help Needed
 
How to put array digits into this? now its randoming any digits in my array, I want it so that ...
[2 replies] Last: Thanks usaandfriends, should have seen that! Fixed :D (by OmfgWdf)
November 2015 Pages: 1... 3435363738... 53
  Archived months: [oct2015] [dec2015]

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