Beginners (Page 130)

Computer graphics in c++
 
Hi, I want to make a simple cg program in c++ of a moving circle. The circle should move to left w...
[5 replies] Last: Why are clearing the device after you draw to it? (by pogrady)
Using Pointers
 
I'm having trouble creating a program that returns the user's integers. It returns the first integer...
[13 replies] Last: That's just how your IDE acts. There should be an option of Run Withou... (by ResidentBiscuit)
delete a value in an array
 
Hi ! I need help here . I have to write a function that delete a value of one element in the array ...
[6 replies] Last: i didn't notice that problem in the beginning , if i wanted to delete... (by becomingEng)
by Dizzy
Using a pointer to traverse the data items.
 
Lost on this assignment. Any hints would be extremely helpful! In the following bubble sort algor...
[3 replies] Last: What is the purpose of lines 9 and 13? This variable is never used. (by L B)
Loading from a text file
 
Hi Folks, I'm having problems loading data from a text file, I'd appreciate a nudge in the right ...
[15 replies] Last: jlb, Hi again, I get what your saying and it does make sense. Sooooo,... (by mckcallaghan)
what can i use as a guarded block in main other than a loop
 
I know this is bad practice
[6 replies] Last: business type I guess, nothings happen til' i say it should :D I cant... (by devonrevenge)
invalid-conversion-from-const-char-to-char (1,2)
 
invalid conversion from const-char to char. This has something to do with choice and the if statemen...
[24 replies] Last: I'd like to point out that if to use an array of std::function then my... (by vlad from moscow)
read file small problem
 
#ifndef INVENTORY_H #define INVENTORY_H #include<iostream> #include<string> #include<fstrea...
[3 replies] Last: `inven ' is out of bounds. Also, http://www.cplusplus.com/forum/begin... (by ne555)
count number of line printed out
 
here it is: How many lines are printed out by this statement: cout << "abc\ndef\tghi\njkl" << end...
[4 replies] Last: yeah,looks like im not supposed to count the last line. thanks for you... (by yosimba2000)
Remove element from vector while iterating over it
 
Hi, I'm trying to remove an element from a vector while iterating over it. Initially I was using ...
[8 replies] Last: @L B .erase() returns a valid iterator to the next element in the vec... (by vlad from moscow)
by Dizzy
Problem using Input data file and calculating mean. Please help :(
 
We would like to calculate the (biased) variance of an array inputted from array:dat by passing a fu...
[3 replies] Last: Two comments: 1. You want to calculate the mean, variance, and sum of ... (by mutexe)
Using text File
 
Hi Folks, I'm trying to write a program where I can extract data from a text file, use it and then s...
[3 replies] Last: OPer moved thread: http://www.cplusplus.com/forum/beginner/97664/ (by L B)
reverse a word
 
I created this program, yes. But I don 't understand how and why does it work? Why do I have to pres...
[9 replies] Last: @Zereo nice, that looks simple @vlad Thank you for advice, but wh... (by uzferry)
comparing characters of string c programming
 
how to compare each character of a string using "if " ,"string " ("i" is a number of a sequence of ...
[3 replies] Last: Another version #include <string.h> #include <stdio.h> int main() { ... (by Chervil)
by DiDiao
the struct size
 
#include <iostream> using namespace std; struct s { int *a,b; char c; }; int main(...
[7 replies] Last: I think that the codeblocks has integers of size 8. As for codepad.org... (by vlad from moscow)
by klay2
text based rougelike help with load function
 
loading save files wont work p.s. don't have save function contents of text file are EXACTAL...
[2 replies] Last: I thought I did do that can you show me??? and what else do I use for ... (by klay2)
by Tomsta
How make my player jump
 
Basically i'm makign a game for a uni assignment, however i can't work out how to get the player to ...
[2 replies] Last: that is what i was thinking, i should add the fact that i'm using SFML... (by Tomsta)
OpenGL for Windows 8
 
Hey Guys, I recently got a new laptop and it has been cursed with the affliction that is Windows ...
[8 replies] Last: Maybe reinstall the Windows SDK, or find where it is currently install... (by AHCFan20)
What is good or bad here?
 
Hello, Below I will show you two sample codes. I heard there is bad habits and good habits of co...
[2 replies] Last: Thank you for the reply, I will now use as you recommend :) Dario (by Dario z)
I cannot get my program to compile. please help!!
 
I keep receiving these errors when I run the compiler: Program04.cpp:21:14: error: variable or f...
[4 replies] Last: Changed Line 16 or the header file from void print(std::ostream& = std... (by thisGuy)
Pages: 1... 128129130131132133
  Archived months: [mar2013]

Cannot post in this page. To post a new message, go to the first page.