Beginners - March 2009 (Page 11)

variable sized multidimensional array
 
I've been looking around on how to create a 2D int array in C++ with a size based on variables. I k...
[1 reply] : Read this article: http://www.cplusplus.com/forum/articles/7459/ (by Bazzy)
c++ compiler..
 
I m trying to find a free c++ compiler but the 2 i have downloaded dont seem to work at all, i the m...
[2 replies] Last: Remember that the console window won't stay open with VC++ http://www... (by Bazzy)
by destro
if statement problems
 
here is my code. I can't get it to work if i pick 2 for room and 7 for floor it should be 72.00 but ...
[8 replies] Last: Just one last thing. When i try to get a single room with 1 on floor 1... (by destro)
by riper
what it means this printf's string format
 
i get a chunk of code at which appears this string format: "\033[%d;%dH", any one knows what it me...
[3 replies] Last: GENIAL.... gracias Jsmith... COOL.....THKS JSMITH (by riper)
by ly89
Try this Question
 
(1) Each student in the university takes a different number of courses, so the registrar has decide...
[1 reply] : Sure why not its not like I have anything better to do right now so wh... (by kenshin)
by Oromis
Write to the beginning of a file
 
I have a file where I hold some data in. When opening this file, I use ios::app, because I wan't to ...
[3 replies] Last: I solved it using another approach; now I simply read the whole file, ... (by Oromis)
by Daitey
complier and its Manual
 
Where do i get the compiler with its manual.The tutorial refers to it.
[4 replies] Last: There are a LOT of compilers to choose from. Some of the more popular ... (by closed account S6k9GNh0)
by Daitey
complier and its Manual
 
where do i get the compiler with its manual.I am a java programmer migrating to C++.Help will be app...
[1 reply] : You must realize before you start C++ that C++ is a LOT different from... (by closed account S6k9GNh0)
easy question
 
hey, ive programmed for years using qb, delphi, php, vb and various other scripting languages howeve...
[6 replies] Last: myarray is an array containing 2 elements. You are accessing 3 ele... (by jsmith)
by jesusk
Function problem
 
this program is supposed to work with functions outside the main function ok? so ur asked for a pro...
[1 reply] : Please post your code inside [ code][ /code] blocks so it's easier t... (by jdd)
if statement with char array
 
Hi, I have the code #include <iostream> #include <stdio.h> #include <stdlib.h> #include <string...
[10 replies] Last: Ah so I think I get it now so sense you used singleChar = charArra... (by Hiroyuki)
Chroot jailing isn't working...
 
it's executing ls command after chroot jailing at 'chroot/jail' dir. I run this program as a root...
[1 reply] : Did you put ls in chroot/jail or chroot/jail/bin? (by jsmith)
how do i implement depth first search into my program?
 
how do i implement depth first search into my program? there are 5 cities, inbetween these cities ...
[no replies]
initilizing an array of string from the define directive
 
I am trying to compile the below code: error: expected primary-expression before ‘{’ token I...
[2 replies] Last: Thanks for your help. I will try it. In the mean time, I got it wor... (by zheavensky)
by Peyton
Simple pointer example
 
Hi, The following is a simple (I think!) example of the use of pointers... int &variable1Labe...
[3 replies] Last: Line 12 should be : double_it(pvar); (by pet)
how to write that equition?
 
please help for write following equition!! v e = |v e | * (cos(w)*t -sin(w)*t) (s...
[2 replies] Last: yeah, but i don't undertsand that there're 4 matrix elements within b... (by gantsooj)
Craps Game
 
I need help developing this craps game. Whenever I compile the program it will simulate the dice bu...
[4 replies] Last: You can just use int like that. You will have to use an if() statemen... (by firedraco)
Question about functions
 
I am curious, how can I pass data from one void function to another? An example of such an event wo...
[3 replies] Last: @Bazzy Ah, thank you! @matanuragi Oh, I see. It is very elem... (by William McHugh)
Python Integer Program
 
Hi I need some help on making a python program that reads an integer from a user... and it should pr...
[1 reply] : This is a C and C++ forum. You want a Python forum. http://www.python... (by Duthomhas)
by js6216
How to figure out if some string is inside of another...
 
I have been working on a contact list database project. It is a list of a structures called contact...
[1 reply] : string.find() returns a position, which is an integer index, not an ad... (by jsmith)
March 2009 Pages: 1... 910111213... 29
  Archived months: [feb2009] [apr2009]

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