Beginners - June 2008 (Page 2)

Cannot start any programs?
 
In C++ I open a new win32 console application, and then I input this: #include <iostream> int main() { std::cout <<"Welcome to C++!\n"; return 0; } ...
[5 replies] Last: hope this will help you #include <iostream> #include<conio> int mai... (by matanuragi)
problems with while loop and if statement....
 
hi, im new here. taking some classes in c++ and need some help with a problem. not asking you to do it for me as i read the rules. just need some kind of direct...
[9 replies] Last: Finally, i got the code working the way I intended, with the help of y... (by waparson)
by ironic
STL Iterators
 
Hi! I'm experiencing some difficulties with my iterator I am using in a loop... Let's assume the following code: multimap<string, string> testMap; fo...
[8 replies] Last: Well, I can't comment intelligently on that because I still don't know... (by Duthomhas)
Iam so noob i havent even started plz tell me where and what
 
i would like to know what program would be best to learn C++ on and where i download it i have next to no exp. but i did used to program for the old TI-83 T...
[9 replies] Last: Eclipse doesn't have a built in c++ compiler. You have to download and... (by Mitsakos)
by Emu
trouble with reading words from a file into a hash_map
 
hello, I am completely new to C++ and I am trying to learn it. I am trying to make a program which, given some word and a filename,will basically keep a tal...
[no replies]
by Gotcha
2D Arrays
 
hey there. im still new here,and a beginner with this C++ program. im busy with an assignment with 2D arrays. most of the questions i did get right and some o...
[2 replies] Last: thank you ... now just to figure out the smallest hour :) (by Gotcha)
by grs201
Trouble with compilation
 
Hi, I'm new to c++ and am currently working through AcceleratedCPP. I'm having difficulty compiling my code and get the following compiler message: student...
[3 replies] Last: Ok, managed to fix the problem by removing the declaration of read_hw ... (by grs201)
by tp09
How to end a for loop with entry of particular value??
 
I have a for loop in which values are entered for two different arrays, using two cout statements. I need a way to end the loop and continue with the rest of...
[5 replies] Last: I would avoid special entries like -1. Also, (cin != -1) makes no s... (by Duthomhas)
Problem with function
 
I cannot get the function highlownetpay to work. Tried many variations with same results. Output produces initialized values 1000000 and 0 for minnp and maxnp v...
[11 replies] Last: No. Dev-c++. http://www.bloodshed.com I have Microsoft Visual C... (by archer86)
Displaying pixels in a window
 
I have looked everywhere on the net and nowhere says anything about how I would go about displaying pixels inside a window. Please could someone to post a link ...
[12 replies] Last: When you are happy that you know your way around API programing, ther... (by closed account z05DSL3A)
App Skin And Compiler
 
Hi. I would like to know how to implement a skin from http://www.skinui.com/ to my Borland C++ program...i have tried what they recommand there but not working....
[2 replies] Last: no problem...thanks anyway for your interest.... others who know abou... (by ioanmih)
Class question
 
I am trying to set up a class to hold individual runs of data like this: class TestRun { public: TestRun(); TestRun(int); ~T...
[3 replies] Last: I'm trying to create a class, TestSet, that contains a collection of a... (by justlearning56)
How are they different in C++?
 
// I presume Obj a is a pointer here? Am I correct? void func1(Obj a[ ], unsigned n) vs // Over here Obj* a[ ] is an array that points to type Ob...
[7 replies] Last: No worries man :) (by Zaita)
learning C++
 
I want to know whats the best way to learn C++ coz im finding it very hard to understand how to program with C++
[2 replies] Last: Besides the tutorials, <C++ Primer> is a good book to learn c++. If... (by chenwei86a)
by Cyph3r
Dynamic Memory and Variable type.
 
Is there a way in which you can assign a type of variable e.g. int, float, short etc. AFTER a user input? I thought this could be useful in saving memory, fo...
[3 replies] Last: That depends on how tight your memory is. Sometimes assembler can sav... (by bnbertha)
Compiler Error and Classes
 
So I've made a working blackjack program but I'm trying to implement new things as I'm learning them. I'm still fairly new to C++ (and programming in general as...
[5 replies] Last: There are additional uses for :: 1) Accessing Static Member Funct... (by Faldrax)
map with predicate
 
I saw that it is possible to define a map with a predicate to be used in way to order the elements within it. I've tried to do so following the scarce info I've...
[no replies]
[completed]tiny C++ proggie returning a weird result
 
My program returns everything correctly until the average percent (pct). It comes out with a single digit with a long string of crap at the end. #include <i...
[5 replies] Last: thank you everyone! (by porkshoulder)
A Few Quesions(Pls Read)
 
Is it possible to use other languages to make C++ better liek HTML to make it more stylish or other stuff like Javascript, etc??? Is there anyway to change t...
[12 replies] Last: www.devpak.org :) (by Zaita)
Questions about streams
 
Hello, I reciently started streams. I have a couple of questions, When you use cout.setf(ios::scientific | ios::showpos) : Why does the output us...
[2 replies] Last: Do a google for "truth tables". This should give you a good rundown on... (by Zaita)
June 2008 Pages: 1234... 13
  Archived months: [may2008] [jul2008]

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