Beginners - April 2009 (Page 9)

How do I write a loop for this?
 
If I have a random number and if it is even divide it by 7 and if its odd multiply it by 4 and it ke...
[4 replies] Last: for(int n = RANDOM, counter = 0; n != 0; ++counter) { if(n%2) { ... (by eker676)
by patra
how to send variabel between two or more dialog in visual c++
 
hi all.. anyone knows how to send variabel between two or more dialog? step bye step to connecting ...
[2 replies] Last: can you elaborate?? (by writetonsharma)
by GANTOR
Source Code
 
Hey, I have a question. I have some explained source code that I would love to post in the console C...
[1 reply] : whats the problem,,, just paste it.. (by writetonsharma)
How to watch a static
 
the other day while i'm using vc to watch the value of a static,it's Error: symbol "i2" not found ...
[5 replies] Last: vc++ 6.0 dont show static varibles.. make them global during debugging... (by writetonsharma)
Macros
 
I want to learn how to use macros with C++, I don't mean the macros where you use #define I mean th...
[6 replies] Last: Thanks Bazzy. (by Dissimulation)
reading data files
 
Could someone tell me what I am doing wrong? This is an old program I did and I just learned how to...
[1 reply] : try while loops when you extract the data from your files. that'll wor... (by satchmo05)
by gogo
Problem i can't find
 
my program doesn't work can anyone help me what's my the problem #include<iostream> using ...
[6 replies] Last: The code does not fix your indexing problems... for example: ... (by closed account z05DSL3A)
by Husker
Find Array Item Recursively
 
I'm having trouble with my latest assignment. The purpose is to return the index of the first item ...
[4 replies] Last: Got it, thanks. const int IndexMatch(const int arr , const int s... (by Husker)
how do I add this together?
 
I have a loop which outputs the ASCII values but how do I write another loop which adds those values...
[15 replies] Last: ahhhh okay thank you (by takumi05)
Query about returning references
 
Here's a piece of code that'll help explain my confusion: #include <iostream> using namespace...
[2 replies] Last: thanks kbw... makes a little more sense to me now ;) cheers :) (by arun1390)
by bobsta
segmentation fault when looping over 2D object array within constructor
 
Hi, I have been using C++ for a couple of months now (after many years programming in FORTRAN) a...
[1 reply] : A few points first. Point::Point():x(0),y(0),z(0),r(0){ ... (by kbw)
C++ Software
 
I've just started the tutorials on the website, but having problems running the very first program. ...
[3 replies] Last: Thanks guys, great help. (by dancinhomer)
Question with Arrays
 
Just wandering guys how do u produce a map using Arrays... like a game play map such as Connect 4....
[1 reply] : You could create a 2 dimensional array. The language supports that di... (by kbw)
by g0dwyn
Copying Files with C library
 
Hi all, Is there a function that can copy the contents pointed to by one FILE* to another? If ...
[1 reply] : http://cplusplus.com/reference/clibrary/cstdio/putc/ That link cont... (by kempofighter)
Creating Classes
 
Hey guys... Wondering if anyone will assist me in creating a class.. In this class i need to c...
[1 reply] : Uhh, need a tad bit more info then that. Anyways, this should get you... (by daeiros)
Tricky class problem with game
 
I'm tring to work out some method of creating an inventory system for a text game I'm making. This i...
[3 replies] Last: Well I think I figured it out. I guess the problem I was having was th... (by daeiros)
Run Program? (1,2)
 
How would I go about running a file like firefox or another program I created from a program i write...
[22 replies] Last: Like this? #include <iostream> #include <windows.h> using namesp... (by Mashed Pwntato)
File Deletion Project
 
Hey all. I'm a newbie at C++ and hope that you guys can guide me along. I recently got assgined a pr...
[2 replies] Last: Hi helios. Thanks for the information. Can you explain what the Win... (by burger87)
by abcd
a game
 
this is my code #include < iostream> using namespace std; int main() { int s = 0; char ...
[7 replies] Last: The only winning move is not to play. WELL SAID! (by firedraco)
input spacing revisited
 
Earlier I posted the topic input spacing, and I've been trying to implement it with a delimiter but ...
[4 replies] Last: NEVER MIND I FIXED IT! WOOHOO thanks for the help :-) (by shakethatmoney)
April 2009 Pages: 1... 7891011... 28
  Archived months: [mar2009] [may2009]

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