Beginners - April 2009 (Page 18)

by Bv202
^x
Hi, I'm following absolute beginner tutorials c++. Now, in the first exercise, there is asked to let the user input a number (variable "number" for example) ...
Apr 13, 2009 at 4:49pm
[6 replies] Last: it will be better for you if you try to write the function yourself an... (by writetonsharma)
How to make it work on my computer?
Ok I know yuour need a compiler to run the program C++, but how do i make it just work on my computer...Like if i write a program and want to test on one of my ...
Apr 13, 2009 at 3:02pm
[4 replies] Last: I know that but where do I put it, do I hit run and wait for the littl... (by Gonzo 3 5 7)
by s56
typedef, define and array
when I'm using something like #define DIR_TOTAL 4; ... typedef int T15Array ; istead of typedef int T15Array ; I have pointless error m...
Apr 13, 2009 at 2:22pm
[4 replies] Last: thanks, with #define DIR_TOTAL 4 also works :) (by s56)
by mkl15
write corrupts data
So, i'm trying to copy data and add 32kb of 00 between every 32kb (don't ask why) However, the data gets corrupted after the first 32kb, so the first 32kb from...
Apr 13, 2009 at 2:04pm
[12 replies] Last: That was an attempt at psuedo-code. (by kbw)
Create Desktop shortcuts in C++
Can I get some help to create a Desktop shortcut and a Beep sound in the PC speaker in C++ ? Thanks in advance, (youngstar)
Apr 13, 2009 at 12:39pm
[2 replies] Last: Will post you a code to create that in some time.. :) (by writetonsharma)
For Loop and Creating Averages
If I want to make program that calculates the averages I have a problem with the averaging part. If I have 5 different people on each team and there are three t...
Apr 13, 2009 at 11:49am
[5 replies] Last: #include "stdafx.h" #include <iostream> using namespace std; ... (by closed account 48T7M4Gy)
storing variable & char ?
How do i store a variable as char and number? Do I have to use a string?
Apr 13, 2009 at 11:39am
[3 replies] Last: okay thank you (by DoomCarnage)
by Bv202
I can't compile?!
Hi, I've decided to learn C++, so I've download Visual c++ A few days ago, I've tried some basic things from a tutorial and it worked fine, but now, now I w...
Apr 13, 2009 at 10:29am
[2 replies] Last: Hey, After a couple reboots, it seems the problem is solved. Thanks... (by Bv202)
Hello
I am new to this web site...I am take Programming 1 C++...I have one question today...I have a compiler at home but at work I can not download a compiler becaus...
Apr 13, 2009 at 10:28am
[1 reply] : see this: http://www.comeaucomputing.com/tryitout/ might help ... (by writetonsharma)
stopping a loop
Can someone help me understand how to stop the loop when the user search for an item? I noticed that if I use only int x=0; the program works as it is suppose...
Apr 13, 2009 at 9:43am
[7 replies] Last: int found = -1; int lengthOfFoodList = 100; cout << "Enter a pr... (by closed account 48T7M4Gy)
Please I do not understand these programs of my homework!!!
What will be the output of int n=4; while (n <=13) { n +=3; if (n>9) break; } cout<<n; What will be the output of n=2; bool s...
Apr 13, 2009 at 7:04am
[6 replies] Last: good one kevinchkin..!!! (by writetonsharma)
How would I write this????
Write a template for a function that will return the larger of two data types. Give the definition of the template only (no prototype necessary).
Apr 13, 2009 at 3:19am
[1 reply] : http://www.cplusplus.com/forum/beginner/9861/ (by Duthomhas)
How would I write this????
Write a template for a function that will return the larger of two data types. Give the definition of the template only (no prototype necessary).
Apr 13, 2009 at 3:18am
[1 reply] : This is a pure homework question. You must learn to do it yourself. (by Duthomhas)
by Dr01d
Multi-dimensional matrix to file
Hello, I am trying to put on a file a multi-dimensional matrix something like the code below. I can write and read a vector ou a uni-dimensional matrix t...
Apr 13, 2009 at 3:10am
[1 reply] : Watch your loop indices. for (int a=0; a < 5; a++) for (int b... (by Duthomhas)
Having trouble with ADT's, Overloading, and Classes together
I'm trying to create an address book application, and HAS to use this AddressBook class and header file (unaltered): const int ENTRY_SZ = 256; class Addre...
Apr 12, 2009 at 11:14pm
[no replies]
Creating a txt file from program
How I can I create a txt file from my program?
Apr 12, 2009 at 9:20pm
[2 replies] Last: Thanks! (by Tarou San)
weird behavior of string shifting program
Hello everyone! I have a program that is supposed to shift a text to the left by n characters.For example, if I have the text "abcdef" and I shift by 2 charact...
Apr 12, 2009 at 8:48pm
[no replies]
Homework assignment I dont completely understand
Create a C++ console application that allows two players to participate in a tic-tac-toe game. The program will be responsible for deciding who wins the game. ...
Apr 12, 2009 at 8:22pm
[1 reply] : Ok I went back and revised some... Anyone want to help me and expla... (by drakenathaniel)
Expression can not be evaluated
having some trouble with printing name out to file any thoughts Person.h #ifndef H_Person #define H_Person #include <string> using namespace std; ...
Apr 12, 2009 at 6:20pm
[1 reply] : I don't see a problem but...try using this instead of implying it: ... (by firedraco)
by Gondee
Contents of string array not printing. Printing location insted
Hello, first post =) I'm making a tennis stats program, simple one. and i have data about each point in 2 arrays, each 3d and each string. When i print the c...
Apr 12, 2009 at 6:08pm
[4 replies] Last: That was it. Thanks Gumbercules!! I don't know why that would be the c... (by Gondee)
April 2009 Pages: 1... 1617181920... 28
  Archived months: [mar2009] [may2009]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.