Beginners - October 2008 (Page 18)

what program should I start with?
 
I'm new to C++, however I have had some experience working with boolean algebra, numerical bases, and ascii codes. In order to learn to program I suppose I ne...
[9 replies] Last: glad to hear im not the only one having the tab issue with Dev C++ ... (by hankof1983)
How can i slow this down?
 
Im jus playin around with this code, its supposed to give off the matrix effect ex. the running random symbols and numbers b4 the movie starts. So i kinda did i...
[11 replies] Last: Glad you got it working. But you should know, I am not obligated to... (by Duthomhas)
Fraction Problem - Infinite Loop
 
#include <iostream> using namespace std; void faddiction (int& a, int& b, int& c, int& d) { int fr1, fr2, fi, fz1, fz2; fi = 2; if (b == ...
[6 replies] Last: Ok, thanks! (by HeatMan)
'double' division problem?
 
I have this program that is similar to my last, but uses functions instead. I am having the problem of displaying 0.00 for all my outcomes. Why is this? ...
[5 replies] Last: Someone PLEASE help me? I can't imagine it's some major issue. Wow.... (by exception)
Question about arrays
 
So I read the tutorial on Arrays, and I found out you could do: int billy = { 16, 2, 77, 40, 12071 }; But I was wondering, I have something set u...
[5 replies] Last: Dear Sir, When we declare global variable it does not mean that varia... (by matanuragi)
differentiate numeric and alphabetic?
 
I've tried searching, but maybe I'm just using the wrong terminology. Is there a way in C++ to differentiate numeric and alphanumeric data? my example: ...
[14 replies] Last: just an update for anyones future reference.... i condensed the select... (by hankof1983)
Making a program wait until a key is pressed..
 
I know this is already explained in the sticky, but I have to use it multiple times in my program, sometimes to wait for the user to press some key before conti...
[8 replies] Last: If anyone's like me and had no idea how to install/compile/use a libra... (by Poke386)
launching error
 
hi, i use eclipse ide for C/C++ developers and built the mingw and gdb debugger. but i have a trouble with my debugger. when i wanna debug, i take an error jus...
[no replies]
Reading Entire Line
 
Using this statement, [code=cpp]getline( LoadText, loadTextString ); , how come it only saves the first word to 'LoadTextString'? Is there any way to store all ...
[5 replies] Last: Did some testing and I was misstaken, you should have used getline(cin... (by Warnis)
by obdi
sting array input
 
This is a vending machine project. The vendor can input/change items and price... I'm stuck on how to make my VendingItem an "variable" type, and I may declare ...
[no replies]
C++ newbie need quick pointers with loops.
 
hi all, i'm trying to display a sequence of numbers in rows of five using the for loop and it should look like this: The numbers between 5 and 100 that are ...
[3 replies] Last: Thank you bluegray. after implementing your code my program works per... (by diabolyte)
competition program
 
You are to write a program that reads in competition results for asingle team from a file and calculates the final score for the team. The file name must be sup...
[4 replies] Last: You know you could just use getline() to get a single line, then use t... (by firedraco)
Quick fstream question
 
ok so I know how to get data from a file and print out data to a file, but here is my problem let's say I have a line of data that I am going to be assigning to...
[6 replies] Last: Ok, so basically how streams work is they have "pointer" to where they... (by firedraco)
copying 2 8 bit values into 1 16 bit value
 
Hey guys, here's what I am looking to do. Have an array thats 8 bit. char . I have a qty, say temp which is 16 bit. I need qty to hold char in first...
[4 replies] Last: @jsmith Didnt know about the static_cast operator. Did'nt want to use... (by califguy)
Converting MSVC7 to MSVC8
 
First let me say that I am not a C++ programmer. I dabble a little in VB and a lot in Lisp for AutoCAD. I have a program that was written for me in C++ for Auto...
[no replies]
how to send a variable on net?
 
Hello, Lets say I have this meaningless program: #include <conio.h> main() { char a; a=getch(); } How can I send what I've enter...
[4 replies] Last: thank you very much, will get on it right away! (by neo4life)
by Arekus
Very new to C++: Single function to perform multiple calculations?
 
I recently started taking my first introduction to programming class and am very, very new to it all. My professor's latest programming assignment involves crea...
[3 replies] Last: For each meal, Cost Each, Discount, and If order more than should be ... (by Faldrax)
by taklct
how to find the largest & smallest number???
 
i enter some number in the program(non-negative numbers) how to find the largest & smallest number???
[3 replies] Last: You might wanna be a bit more specific (by Umz)
by kaisin
integrating ip camera image/video into c++ program
 
hi, i am a beginner in c++ and has no previous experience. I am building this program which requires me to feed video/images( taken from axis 210 ip network cam...
[5 replies] Last: kaisin I am also trying to access an AXIS IP camera from a program. Di... (by QVidal)
Inputting data from .txt, outputting it to new .txt
 
Accounting packages and spreadsheets often represent numeric values with commas and values which represent dollar amounts may also have dollar signs, negative m...
[3 replies] Last: updated my code after reworking it a bit, seems to run ok but doesn't... (by UconnDan)
October 2008 Pages: 1... 1617181920
  Archived months: [sep2008] [nov2008]

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