Beginners - January 2011 (Page 25)

Visual C++ 2008 or 2010?
 
I am confused on choosing between the 2008 and 2010 versions of ms visual c++. I do not know if the 2010 version is backward compatible and does it work with o...
[9 replies] Last: Every compiler has it's issues. There is no "issue". Just standards... (by Zia Ur Rehman)
Unable to access to Global/External
 
In a file I declare as global an array of structures that is being dynamically allocated: struct series { int num; int dayNum; ...
[2 replies] Last: ne555: Thanks for the hint. I'm taking a total different direction ... (by paolopiace)
G++ cannot find header file playpen.h
 
Hello! I am trying to follow a book "You can programm in c++" by Francis Glassborow where i am stuck at second excercise (playpen). I am supposed to compile ...
[6 replies] Last: Here is the full playpen.h... if this helps. #if !defined (PLAYP... (by kitarapso)
Search function using wildcard?
 
Hi people, I just started C++ yesterday, I'm trying do some basic functions here, but I'm stuck. Question 1: I have a infile.txt Product:Price:Quant...
[5 replies] Last: ne555, THANKS ALOT!!! getline(myfile, line); if( product != lin... (by andylbh)
by cstorm
Anytime Input? (1,2,3,4)
 
For my highschool c++ class, we must create a game for an end of the year project. Ive been working on it and decided, I want a menu to be accessible from any p...
[60 replies] Last: nice, thank you (by closed account 4Gb4jE8b)
making an argument optional?
 
I have a function void type_erase(std::string content, int placement, int backspace, double time_delay) but i want to include an optional argument like so...
[3 replies] Last: THANK YOU! that's exactly what i needed (by closed account 4Gb4jE8b)
turbo c++ 4.45 on 64 bit system type
 
i have a problem installing turbo c++ 4.45 on my laptop that have the 64 bit system type. is there any one who knows a website where i can download turbo c++ 4....
[4 replies] Last: Turbo C++ is ancient, I believe it's only for 16 bit systems. There's ... (by Bazzy)
istringstream in a loop
 
I'm not sure if I'm doing a good thing. I'd like some advise. I need to read lines from a text file where the delimiter of fields is semicolon. I'm doing thi...
[10 replies] Last: hi there... times five? (by closed account 4Gb4jE8b)
error in returning roots
 
Hi guys I'm having a problem with my program it's supposed to return roots but when I enter certain values the roots return like this -1.#IND i don't know...
[4 replies] Last: Oh I see thank you :) I'll fix it right away (by wildsummerdream)
cin/cout-printf/scanf
 
hi, i'd like to ask about differences between [cin, cout] and [printf, scanf] i'm just kind of confused of these..XD
[5 replies] Last: Actually, in this thread I conclusively proved that printf > iostream ... (by rocketboy9000)
by Icenel
different within getchar(); and while (getchar() != '\n') ;
 
Different between this Why we should replace getchar(); with while (getchar() != '\n') ; please let me know their meaning Thank you
[2 replies] Last: I'm guessing that that line is at the end of a program? As I can t... (by wolfgang)
Two Questions: Custom rounding, and checking for whole numbers
 
Hi, I have taken computer programming at my school for half a semester now. I have browsed these forums for awhile and got help from other peoples posts, but I...
[19 replies] Last: .... I was typing something and there is this button on my mouse that ... (by CallMeCrazy)
Simplifying Codes
 
Is it possible to shorten this code: //Two questions are available. #include <iostream> using namespace std; int main() { int ans, score=0; co...
[9 replies] Last: i mentioned that there was very little, so my apologies, because if yo... (by closed account 4Gb4jE8b)
Calculator shows only last ElseIf
 
Hi people. By posting in Beginner section you can see i just started learning C++. Ofc i use this site's tutorial for learning, i think it's great so i bookmark...
[6 replies] Last: easy enough to fix. oddly enough i didnt know that. thanks for telling... (by acorn)
I'm New Here, and I'm New at Programming
 
Hello, I am new here on the forums, and new to programming. I'm 22 years old, and I've been on the computer since I was 3. I've heard that by just learning how ...
[4 replies] Last: Thanks for the info! I dont ever give up, I'm just bad at procrastinat... (by Seanobi)
what is ++for?
 
#include<iostream> #include<cmath> using namespace std; int i; int randomnumber = rand()%10+1; int main() { int yourval = 22, numEven = 0; while ...
[6 replies] Last: thank you very much. (by jimmy5023)
initialize array with new
 
dear all, i know that we can asign a value to there where a new pointer refers int *a=new int(99); can we do that also for an array?? to give the same...
[2 replies] Last: ok thank you!! (by vagelis)
if you make a header file
 
And import it to the location where your compiler stores it's base header files, will your program be non-portable to other systems when compiled (because they ...
[4 replies] Last: ah. Hahahaha i feel like such a newbie :P thanks though, I appreciate ... (by closed account 4Gb4jE8b)
Arrays, blank output, and crashing.
 
Hello, this is my first post here of what I hope to be many. I'm getting into c++ and am trying to output an array element. When the cout executes the array '...
[8 replies] Last: I owe you a beer. This is great help, I'll implement these and see ho... (by oneSorcerer)
Call Windump - ShellExecute
 
Hi, I am building a basic program that calls WinDump.exe but it just isn't working. WinDump can be found here if anyone would be so kind to try and run it: ...
[3 replies] Last: OK i've been looking at this for about 4 hours now and have got almost... (by thomascrabs)
January 2011 Pages: 1... 2324252627... 42
  Archived months: [dec2010] [feb2011]

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