Beginners - August 2012 (Page 45)

Can't seem to stop the motor
 
Hi guys, i'm having some problems with my programme for a school project. while(1); //repeat { if (PORTBbits.RB0==1) //_____________________ ...
[2 replies] Last: there's that function time() : http://www.cplusplus.com/reference/cl... (by coder777)
by Owain
OpenGL shader woes
 
Hello, I am following a tutorial to learn OpenGL 3.x, but when I run an example I get assertion errors or the colours are wrong. This appears in the console deb...
[4 replies] Last: Possibly try ending your files with a new line. I tried that, but ... (by Owain)
While structure program! Help!
 
I'm trying to make "enter the account number" on the second loop. If I put "Enter the account number" in the "While" control structure. It would print twice in ...
[4 replies] Last: I think i gout the problem. add this just before while loop: aNum=0... (by wizulis)
Need help with ARRAYS please!
 
I have the majority of this program written but I see flaw in it the last section after the do while statement i think needs to be another array probably close ...
[4 replies] Last: How about this? #include <iostream> #include <string> using name... (by ToniAz)
Polynomial multiplication problem SOS
 
Hi guys, My multiplication algorithm is not working correctly, it keeps giving me some non sense term. Any help would be appreciated. Thanks, Mike ...
[4 replies] Last: Apologies, I forgot to cut and paste the constants const int MAX=10... (by toomanystars)
Good programming practice/approach?
 
New here, hello. Recently had a quiz with this problem: "Write a program that continuously requests a grade to be entered.If the grade is less than 0 or gre...
[9 replies] Last: The cin object converts to a boolean depending on the success of a rea... (by MetalMilitia)
Is there any "break" alternative to system pause other than getch
 
I need some breaks in my program, but I can't use getch or getchar because there is a lot of getline(cin, variable) in the code I'm writing. I don't want to hav...
[5 replies] Last: but I can't use getch or getchar because there is a lot of getline(c... (by Lowest0ne)
Is there a multi-platform sleep/pause function?
 
Is there a multi-platform version of sleep(time) ? I was using while (true) to control some code that was supposed to run for a designated amount of time....
[2 replies] Last: Yes, it's called std::this_thread::sleep_for() http://en.cppreferenc... (by Cubbi)
Simple error that shouldnt be occuring ( at least i think)!
 
#include <iostream> using namespace std; int main(int argc, const char * argv ) { int age; int name; cout<<" Enter the name of the t...
[3 replies] Last: Yeah thanks @ thebeathacker, it worked! Annnnnnnd i found out that it ... (by ryanvkeller)
How in the World to use an object inside a vector
 
Ok so I have looked all through my book and have not seen anywhere how to use an object within a vector. I've been making a simple game using classes for the la...
[4 replies] Last: Fair point. Edited the example. (by AbstractionAnon)
disk partitioning for linux
 
hey just a quick couple of questions. I am wondering what linux distributor/operating system, is good for programming, and if anything what is the best harddriv...
[no replies]
please c++ multiple question
 
I was doing couple of example from the book. I am not able to get it right please help. I have exam tomm. 9. Which of the following code blocks produces ...
[3 replies] Last: uhhhh. What is sum? b and c loop for sure. a should only loop 5 times... (by AlitCandle)
Learning about DBMS
 
Well, I have been learning how to code for a while. Recently I decided that I knew enough to create my own programs. Right now, I am working on a workout log...
[5 replies] Last: The documentation at the official site covers everything you could pos... (by helios)
Add value to dynamic queue
 
At first,I like to say sorry about my bad English I want to know how I can add values ​​to the queue using structures in this form struct Que { ...
[3 replies] Last: If it's a list, why not just use the C++ list container? http://www.c... (by AbstractionAnon)
Need some help with last programming assignment
 
I am officially very stuck on this assignment. This is the last assignment for my c++ programming assignment. These are the statements I have to fill in. /*...
[4 replies] Last: Write a series of cascaded stream insertion operations to output a se... (by ToniAz)
August 2012 Pages: 1... 434445
  Archived months: [jul2012] [sep2012]

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