Beginners - March 2012 (Page 37)

Unsure about Errors in OpenGL and classes
 
I am getting errors and I am unsure how too fix them,I have a circle class and a triangle class and ...
[3 replies] Last: thanks guys, just got it , i also accidentally had copied the triangle... (by RyanCook1993)
Confused: Need help with classes problem
 
Hello, I am quite confused on this program we are supposed to write using classes. The first part of...
[1 reply] : Sidenote: You could provide a constructor so you can initialize a Wor... (by georgewashere)
by ACE123
How to create simple database?
 
Hey, I'm new to C++ programming and trying to create a program that stores 3 string inputs (s1,s2,s3...
[2 replies] Last: Thanks so much, it now works exactly how I want. Thanks! (by ACE123)
Happy Birthday Code Problems
 
I am writing a program for my friend on his birthday, and in the beginning it looks like Glados (pl...
[2 replies] Last: k thx (by trexmix)
Error with program
 
Hello all! So... I have wrote a function to respond in a certain way based on what part of the map ...
[2 replies] Last: Ah that probably is the issue. locy - 1 and locy + 1 both have potenti... (by ResidentBiscuit)
by JetX9
input and print functions...
 
Okay. On this particular assignment, we have member functions defined as const. One of them is calle...
[9 replies] Last: That...really doesn't help me in the least. Oh, sorry. I thought yo... (by Moschops)
Help me figure out a solution...
 
This isn't a homework assignment but I need some help. After banging my head against my desk for thi...
[2 replies] Last: blahhhhhhhhhhhhhhhhhh are you kidding me? Thanks for clarifying... I g... (by georgewashere)
by poda19
gcc assembly output
 
hi i am practicing reversing programs and i thought it would be helpful to view the assembly code o...
[1 reply] : ok i got it it was the AT&T syntax i sould use -S -masm=intel to produ... (by poda19)
by krityx
Object not actually being modified by a class method
 
I have this constructor for my rational class: rational(int a,int b) { num=a; denom=b; simpl...
[2 replies] Last: Oh yeah that was it.. gcd was -1 and it was dividing by -1 ... Thanks. (by krityx)
Doing calculations with functions
 
This is my assignment: Problem - Write a program that asks for the user’s height, weight, and age...
[15 replies] Last: no problem, helping others is also a great way of learning, wasn't ent... (by Zephilinox)
data structure problem
 
Here is my basic code to understand the usage of data structure. The problem is when I run it, o...
[5 replies] Last: This is not an unusual problem. Can't we just create some functions t... (by cire)
by swp
splitting a number into separate digits
 
im writing a homework program, no im not asking for you to do it for me, but its converting a number...
[1 reply] : y = x % b assigns last digit of x in base b to y. y = x / b assigns a... (by hamsterman)
rand not applying correctly?
 
Hi I am trying to generate a random number between 1 - 100 using the example on this site. It works....
[19 replies] Last: ++i just adds one to i, \n simply means end the line, so that you don'... (by Zephilinox)
by atjm88
Got Error in Program
 
#include <opencv/highgui.h> #include <opencv/cv.h> #include <tchar.h> int _tmain(int argc, _TCHAR*...
[3 replies] Last: A library won't help. You need to create them. Here is how you would c... (by Moschops)
by Ch1156
Dinosaur battle text game help please
 
Hi, im making a text game where you battle a dinosaur in an arena, but i'm a bit stumped as to how t...
[4 replies] Last: #include <iostream> #include <string> #include <ctime> #include <std... (by Zephilinox)
optimization of this algorithm?
 
void teest(int *prm1, int prm2) { int m, n, tmp, flg; for(m=prm2-1; m>0; --m) { fl...
[1 reply] : Please don't double post: http://www.cplusplus.com/forum/general/64659... (by MrHutch)
Fetching how long a function runs
 
I have a function that is running quite slowly right now and I am looking to speed it up. The first ...
[4 replies] Last: You should use a profiler http://www.cs.utah.edu/dept/old/texinfo/as/g... (by ne555)
fatal error LNK1169
 
Hi I am receiving this error when i compile the program: fatal error LNK1169: one or more multiply...
[13 replies] Last: It worked. tnx Moschops for identifying the problem and tnx clanmjc fo... (by crawler)
assignment
 
for(int k=0; k < 6; k++) { int x,y; inLocn.open("locn1...
[6 replies] Last: So read it all in in one go rather than bit by bit as the for loop ite... (by njkroeze)
While Statement using a counter entering grades and output avg
 
The problem is is that when I compile the program it is allowing me to enter as many grades as I wan...
[3 replies] Last: I'd suggest not to place the green check mark if your issue isn't solv... (by coder777)
March 2012 Pages: 1... 3536373839... 71
  Archived months: [feb2012] [apr2012]

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