Beginners - July 2011 (Page 25)

confused with fuctions explaination please?
 
currently going through C++ for dummies and found problems with some things so i wouldnt be surprise...
[6 replies] Last: yup copied wrong ,but copied from this forum and worked...don't know w... (by metulburr)
Program auto-exits
 
I wrote this program to input roll no, class, section and marks in five subjects with total marks in...
[14 replies] Last: Alright guys after some thinking I finally found the solution! As you ... (by harry14)
Code help: n^2 > 12000
 
I need help writing a loop function. I need to use a while loop to find the smallest integer (n) so...
[5 replies] Last: Oh yes sorry guys, I do mean n to the power of 2 or n*n (by costaaa)
How to connect to sql in C++
 
Hi everyone, I want to connect to the sql using C++. please tell me how should I do that. Thank ...
[1 reply] : I found this on google: http://www.sqlapi.com/ Claims to be a libr... (by toexii)
by lidgaj
ifstream's tellg() is unreliable
 
Hello, I have a text file (test.txt), the contents of which are a b c d e The program lo...
[2 replies] Last: Thank you. (by lidgaj)
Help in finding the error in the Code
 
#include "default.h" #include <fstream> using std::ofstream; using std::ifstream; class Ele...
[5 replies] Last: You're welcome! I'm glad I could help. (by shacktar)
by kassik
error in power
 
I wrote this simple code: #include <iostream> using namespace std; int main() { int ...
[3 replies] Last: thanks a lot. (by kassik)
by meir
using graphics in a form
 
Hi all, Can I draw simple graphics inside a for (a line or a rectangle ) ? How is that done ? ...
[2 replies] Last: Look at this http://www.cppgameprogramming.com/cgi/nav.cgi?page=alleg... (by jeffsg605)
unable to exit loop
 
#include <cstdlib> #include <cstdio> #include <iostream> using namespace std; int main() { ...
[2 replies] Last: thanks (by metulburr)
Pointers and Functions
 
What is the difference between passing a pointer by value and by reference? I'm thinking that either...
[11 replies] Last: @sohguanh: Another user for passing a pointer by reference can be to ... (by Nisheeth)
by opie
Word guessing game
 
I need some help completing a word guessing game. The functions names need to remain they way the...
[2 replies] Last: int number_right(int consonant1,int vowel,int consonant2, int consona... (by Breadman)
Frustrating error while reading file!
 
I have been fighting with this error for awhile now and am hoping someone can enlighten me to what t...
[2 replies] Last: You can test for the state of inp once it's opened, but the function o... (by toexii)
Why wont this run?
 
#include <iostream> #include <cstdio> #include <cstdlib> using namespace std; int main() { ...
[2 replies] Last: yes thanks (by metulburr)
Reading the result of system()
 
Hi I'm very new to this so sorry if this is extremely obvious, but I was wondering how do you read t...
[3 replies] Last: http://stackoverflow.com/questions/6633056/grab-programs-console-outpu... (by ultifinitus)
Runtime Memory
 
Hi this is a really quick question, sorry if its a bit errrmmm weird. I am writing some notes on...
[2 replies] Last: there is also processor registers. the keyword "register" is used to c... (by muratagenc)
by Brad1
Need Help computing tuition!
 
The question is: Suppose that the tuition for a university is $10,000 this year and increases 5% eve...
[5 replies] Last: This is what I got, it might be wrong. int main() { double sta... (by creekist)
don't get the logic? .....
 
I have an assignment that asks me to make an encoder. the encoding itself is simple, and I get that....
[2 replies] Last: so i should assume the file is on the computer, but that only the user... (by xXmusicmanXx)
absolute value of an int is negative in template function!?
 
Hi everyone, I have a very large float that I want to convert to an int (by 'mod'ing it basically),...
[2 replies] Last: Yeah that seems to be why, although I don't quite understand why the f... (by ausairman)
bool quadrant
 
class my_point { public: my_point(); my _point (int,int); void print()const; int ge...
[1 reply] : Check the signs of the x and y coordinates. (by Zhuge)
by GHARN
C++ Completely new, Want´s to learn.
 
So I am completely new to this whole programing thing. So i wonder is it Visual C++ i should downloa...
[6 replies] Last: While learning, I went in and out of Qt Creator (just to start a proje... (by Audie)
July 2011 Pages: 1... 2324252627... 54
  Archived months: [jun2011] [aug2011]

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