Beginners - June 2012 (Page 21)

I NEED HELP FOR MY ASSIGNMENT!!!!
 
Assume you are looking to buy a house in a new development.After looking at various models they are majestic,split-entry,and single-story.The builder gave them ...
[4 replies] Last: Thank you very much,now my assignment are done. (by bboykk1234)
Help with proper programming practices
 
I just did this program for Project Euler 8 and it works fine first and foremost. I was supposed to read in from a file a 1000 digit number and find the largest...
[6 replies] Last: Just wanted to say thanks for all the great input that you guys have h... (by thechad90000)
Code Blocker help!!
 
Ok I did everything what this video says about downloading Code block, http://www.youtube.com/watch?v=tvC1WCdV1XU&list=PLAE85DE8440AA6B83&index=1&feature=plpp_v...
[5 replies] Last: Thank you. :P It works now :) (by DetectiveRawr)
Is there an easier way to get everything into an output file?
 
For example, rather than echoing each 'cout' statement in my entire program with an 'outfile' statement, is there an easier way to do it? Maybe some awesome co...
[5 replies] Last: Cout and ofstream are both ostream objects. Meaning you can write one... (by Lowest0ne)
by dkl65
Program freezes up every time I run it
 
Hello! I made a c++ program that is supposed to print the date and time every second, and clearing the screen every 10 seconds. I used this code: #include <s...
[3 replies] Last: @kbw: thanks for that tip. I thought that if you declare time_t now as... (by dkl65)
Can you push a space (" ") onto a stack?
 
I'm trying to read from an input file into a stack, and then output the reverse of that file. To do this correctly, I need the spaces in the file as well. Can...
[8 replies] Last: Okay, one more question: I got that to work, using if (infile.peek(... (by vanllabean81)
Pythagorean Triples Program and I can't tell if I have a Infinite Loop?
 
Hello eveyone. I am trying to find all Pythagorean triples for side1, side2, and hypotenuse all no larger than 500 using brute force computing. I have to use n...
[3 replies] Last: Thanks for the help my friends. I got it working now. (by Thought09)
Graphics
 
I have been trying to program in graphics using OpenGL. I found a pretty good tutorial at this site: https://sites.google.com/site/programmingcomputergraph...
[4 replies] Last: So put glu and glut in system32 instead of Lib? (by MildewyTester)
Global operator functions
 
I don't completely understand global operator functions. I know that we need them so operations like 5*class_name can work, but is that it? Can we use them on...
[5 replies] Last: There is no difference as far as the compiler is concerned. I put the... (by Lowest0ne)
Error Made-Expected an Expression (Visual Studio)
 
Hey there. I'm doing some homework, and my teacher has asked us to create a .cpp program in Visual Studio 2010. I created my program and started out with 19 err...
[2 replies] Last: Thank you so much! I will remember to use the tags next time (new to a... (by emiline)
Help with quiz game
 
#include <iostream> #include <string> #include <cstdlib> using namespace std; int main() { string answer; cout <<"Welcome to Quiz Game\n\n\n\n"; c...
[5 replies] Last: getline's delimiter is an optional third argument that defaults to '\n... (by Lowest0ne)
MVSC++ "Cannot find the files specified" (1,2)
 
ok this is what i did on the MVSC++. 1) I chose an empty project 2) Added the .cpp 3) typed the code from the book "int main () { cout << "Hello,World!\n";...
[20 replies] Last: Ty. (by DetectiveRawr)
:( help (1,2)
 
Hi everyone. I kinda get what the basic of C++ is already,I hope. Since I got game maker 8.1 from yoyogames.com, I got kinda learned scripting similar to coding...
[38 replies] Last: ohhhhh ok, I kinda get it now. (by DetectiveRawr)
Storing separate classes to an array
 
Hey guys, first let me start by saying I've worked with C++ some, but am still not great on it. Basically, I have to create a program to enroll, drop, and p...
[3 replies] Last: Thanks for the input Volatile, got it working perfectly now :) (by r3ncarnate)
*char to char conversion
 
Hi, I'm making a loop that runs through a string of characters and looks for double letters. The searching procedure works fine, e.g. for the input "pepper" it...
[4 replies] Last: @ LowestOne: Ah! That makes sense! And it does indeed solve the proble... (by pbruusgaard)
by Matf8
_conio_gettext - strange error
 
I'm currently making a project on C++ - a rather big one - and, after dealing with the harder (or so I thought) part of the code, I went on to make the graphica...
[4 replies] Last: 18*6*sizeof(*ch) *ch means "dereference the pointer ch" which mak... (by Moschops)
Data format and program suggestions
 
I am writing a program which creates a network based on a .csv file. Consider the example below. node1,0,1,1 node2,1,0,0 node3,1,0,0 the row corre...
[1 reply] : For 2D: Qt: wonderful library for graphics, but somewhat difficult to ... (by sargon94)
The multiple-declaration problem
 
I'm a bit confused about the multiple-declaration problem. does it still exist?? According to Bruce Ecker, it's not allowed to declare a function multiple ti...
[7 replies] Last: Thanks, those last two explanations did the trick, I finally get it no... (by Prestissimo)
can not run the c++ project
 
Hello guys, I need to develop my own peap protocol. I've found some source code to inspect, but i dont know how to compile it. In Linux? In Visual Studio C...
[no replies]
by gemic
Exercise in C++ Primer
 
I'm reading through c++ primer and i've come to an exercise that i don't really understand. The exercise: Write a program to read strings into a vector. Now, ...
[5 replies] Last: Ooh ok I thought he was referring to dynamic memory. Was gonna say, w... (by ResidentBiscuit)
June 2012 Pages: 1... 1920212223... 51
  Archived months: [may2012] [jul2012]

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