Beginners - July 2010 (Page 22)

LINK errors from passing a Vector to a function
 
Ok, so I have a small question. I've got this program I'm working on (should be obvious where I got the idea once you see the terms, don't tell me how to finish...
[7 replies] Last: Sure, but my guess is that it prints something. I think that's what th... (by m4ster r0shi)
by jblc
Returning Char Array doesn't work
 
Why doesn't this code return the proper characters? I'm trying to return a character array from a function. In testChar(), reply has the right values, but ran...
[5 replies] Last: Ahhh! Thanks guys, that makes sense. It is indeed working now. (by jblc)
Question about passing variables/pointers in functions.
 
My book started talking about pointers. Smooth sailing, however Ive come across this, I've listed everything the author says, if someone can please make this mo...
[8 replies] Last: The function used in the example is obviously pointless. (by Galik)
Problem running compiled .cpp
 
Hello....I am just beginning to use VC++. I just tried the simple Hello world program. It compiled correctly but when I tried to run it (Ctrl +F5) and I get the...
[2 replies] Last: Zhuge... thanks. that works. (by PatriotFan)
pulling charactors from an array
 
i have an array with 6 slots. each slot has a word in it.how do i go about Using a do while() loop to print out the 1st and 3rd letters of each word (two letter...
[6 replies] Last: thanks (by jland68)
How to return the output string using system("ls *")
 
Hi, I am using system("ls *") to list all the files under c++. This function only returns an integer, and I am wondering whether there is a simliar function ...
[3 replies] Last: http://www.cplusplus.com/forum/unices/12452/ The example on that link... (by Duthomhas)
Question about algorithm in loop
 
Sorry in advance for such a simple question I'm very new to c++ and just started last week. I'm trying to make a table that makes 3 rows and 11 columns and can'...
[3 replies] Last: Z : Thanks you! I knew it was something stupid.. I just cout like you ... (by Surrounder)
Selection sort on a payroll program
 
Hello all, hope someone can help me out with this. Can someone please help me add a selection sort to my payroll program. I want to sort the net pay (ascending)...
[1 reply] : Can anyone help? Please? (by guru189)
text file wiriting operation
 
Hi, I want to write a content in command prompt to a text file. is it possible? if so can you please tell me how to do that...It's urgent. Please help me ou...
[1 reply] : yourprogram > textfile That's not related to C++ though. Unless yo... (by Athar)
I'm not sure what is going wrong here
 
Ok, I have started off with codeblocks and a tutorial I downloaded and I've written my Hello World programm as follows: // my first program in c++ #include ...
[4 replies] Last: Cool, it worked thanks. Ben (by Rendbre)
Translation files for a program
 
Hello friends, I developed an api win32 program with captions, messages, etc in English language. Now I wish to create language files for Italian, Francaise...
[no replies]
Problems with a switch-statement in a for-statement
 
Hello dear users! I want to execute following code, but it doesn't really apply what's within the for-statement - meaning: the switch-statement is totally be...
[3 replies] Last: Currently the loop will never execute. You need to change i == mo... (by binarybob350)
by b52
runtime error?
 
This compiles but chokes on execution. What am I doing wrong? code::blocks w/g++ error message: Process terminated with status -1073741819 And the me...
[6 replies] Last: I misunderstood. Thanks for the clarification. (by b52)
evaluate an odd number
 
From a technical blog, I learned a trick to check whether i is odd number by evaluating (i & 1) != 0 I am not sure how it works?
[3 replies] Last: Thanks for your explanations. (by winecoding)
by FpaFtw
Problem with classes
 
class one { public: void test(two t) { } }; class two { public: void testt(one o) { } }; int main() { return 0; } this g...
[7 replies] Last: The following works. 2 changes: class two; // change 1 : incomp... (by binarybob350)
function return class handle
 
First off I'm very new to c++. now what I cannot find anywhere is the ability to declare a variable of type class so that it can receive an object reference. ...
[8 replies] Last: Thanks this helps a lot! (by Musiciankool)
Complications Program results
 
Hello, i just started Coding in C++ i thought the beginer assighments were too easy so i decided to make them more complex. The job was to create a program t...
[2 replies] Last: Read this: http://www.cplusplus.com/forum/articles/6046/ A problem ... (by helios)
Modifying char arrays after declaration.
 
in this theoretical program: #include <iostream> using namespace std; int main() { char test = "Thes is a test"; test = "i"; cout << t...
[6 replies] Last: [quote=Galik]My bad... Not at all! :) A friend of mine likes to say:... (by m4ster r0shi)
Very new to programming
 
Hi guys, As the title says I'm very new to programming and I would like some advice please. I have donloaded a tutorial and ead through it and it is all...
[9 replies] Last: Eclipse is alright -- the best IDE for Linux, IMO -- but the Java runt... (by helios)
Program Keeps Crashing
 
I made this program for the beginner exercises on this site but it keeps crashing. It may not work 100% yet (if it doesn't I would like to discover that for mys...
[8 replies] Last: That makes more sense, thanks. But then why does it work with 0? ... (by kempofighter)
July 2010 Pages: 1... 2021222324... 31
  Archived months: [jun2010] [aug2010]

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