Beginners - June 2009 (Page 2)

need assistance figuring out the why my output is wrong....
 
ok, first off im very new to c++. this is only my second actual program ive writen. this is not al...
[4 replies] Last: When posting code, click the '#' on the right hand side under 'Format'... (by Tevsky)
Hello .... some general questions
 
I am new in C++ and I don't know anything about it so I want to ask some questions and I hope some...
[7 replies] Last: @ heliois you dont wanna know (by jloundy)
Encounter 'FAST IO DISALLOWED' when rename under Windows
 
Hi. In my code I fopen a file to write something into it, then I fclose it and try to rename it, bu...
[no replies]
Sorting in Multidimensional Arrays
 
I have a program in which there is a two-dimensional array. Let's say it is array . In array to ...
[2 replies] Last: Thanks a lot! (by madmaxsantana)
Safe alternative to 'cin'?
 
So I've been trying to get into Embedded Systems programming, specifically using VxWorks and Windriv...
[12 replies] Last: Hey everyone, Sorry I was away for the weekend and was without Inte... (by datta016)
by Pether
Guides on how to use Regex in C++
 
I have come to the next part of my program, now i will have to be able to read info from textfiles a...
[10 replies] Last: Hmm, can i use find to search for a string, then use getline to read t... (by Pether)
Open, Edit, Write textfile
 
Hello, I already did some programming with C++ by implementing different formulas in dll files an...
[1 reply] : You need to first include fstream & string header files.. then you nee... (by CManowar)
Output format Printf and Cout!
 
#include <cstdio> #include <iostream> #include <iomanip> #include <cstdlib> using namespace...
[1 reply] : Ok.I found a solution. for( int i = 0 ; i < size ; i++ ) ... (by Dufresne)
by levone
random confusing error?
 
description of programs purpose: i wanted to make a simple encryption program that you can drag a...
[5 replies] Last: oh i see... now that i think about it. i did do a check and the siz... (by levone)
c++ biodata
 
can somebody help me making a simple biodata including name,age,gender,address,school using c++(iost...
[2 replies] Last: http://cplusplus.com/forum/articles/1295/ http://lmgtfy.com/?q=c%2B... (by QWERTYman)
error C2668: 'sqrt' : ambiguous call to overloaded function
 
I am new to c++ and I keep getting the c2668 error. My assignment for the class is to change the ...
[7 replies] Last: that is awesome..thank you so much. that makes so much more sense tha... (by bella09)
by audit
converting a vector of characters to a string
 
I wrote this function to take a integer and convert it into a string that represents a Roman numeral...
[2 replies] Last: Thank you jsmith. (by audit)
file output.
 
What am i doing wrong here? The file distances.txt stays empty even when i get output by the cout. ...
[2 replies] Last: Thanks. I erased the line you indicated and it worked. (by tsilis3)
How can I measure how many milliseconds have elapsed?
 
I want to, for example, know how many milliseconds have elapsed while the user is inputing something...
[9 replies] Last: I see and thank you. time(0) works, but not as accurate as I want. N... (by lilydjwg)
When I mut write <iostream.h> and when I must write <iostream>
 
I want know when I mut write <iostream.h> and when I must write <iostream> and what's the differenc...
[12 replies] Last: I will take this moment to state my absolute hatred for using .... (by helios)
Separate files cannot see definitions
 
Hello. I have a problem with c ( not c++ ) Lets say I have a header system.h #define PC A...
[1 reply] : PC should be defined in load.h after including system.h unless there's... (by helios)
Syntax error : 'if'...
 
line 150. I don't know what's wrong with my if statement. I was following along somewhat with this v...
[7 replies] Last: Btw, would you consider using functions (so that a block won't get lik... (by wmheric)
Ascii char set
 
Hi, when I output the ascii chars 178 tp 218 in my console using this: for(int i = 179; i < 218;...
[3 replies] Last: Oh yeah... heh... you need to be using the Lucida Console font... ... (by Duthomhas)
Menu and finding largest number
 
Hi. I'm trying to learn c++, but I'm still pretty noobish. I need to create a program that displays ...
[3 replies] Last: The two of you are both going at it the right way, but neither of you ... (by jsmith)
string.get(char) (1,2)
 
I am trying to take a string and grab each character from it so i can observe it. Doesn't seem to b...
[22 replies] Last: Hey, I wish you the best of luck learning the language. And I'm happy ... (by AngelGithara23)
June 2009 Pages: 1234... 18
  Archived months: [may2009] [jul2009]

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