Beginners - April 2011 (Page 51)

Pig Latin Help
 
I am having trouble with this Pig Latin code. I want each word to be in Pig Latin, but I also want i...
[no replies]
Array error - "no match for 'operator[]' in 'map[i]'
 
Im not sure if this is a beginner question, but I definitely am a beginner so this board seems best....
[6 replies] Last: Thanks very much! The map is now passed to the input function and ever... (by norgent)
Spilitting a string and storing it into dynamically allocated double pointer array.
 
Hey, i want to split a string into individual words and then store each individual words in dynamica...
[no replies]
by ahboy
C MPI
 
#include <stdio.h> #include <time.h> #include <mpi.h> #include <stdlib.h> int main(int argc,...
[no replies]
question about switches and continue.
 
I'm not very familiar with either of these - I know how to use them, but I want to make sure that th...
[1 reply] : It's fine. (by hamsterman)
C++ game
 
My teacher has assigned up to do this assignment and I have been trying new things out for days but ...
[4 replies] Last: If you haven't lost, the continue on line 112 prevents lines 114-121 f... (by hamsterman)
Writing Switch or for loop to read character stored in array and update balance ATM Program
 
Basically I Want to Write either A switch or if loop that iterates through multple array elements an...
[no replies]
by jls36
int Length(char *s);
 
Can someone help me undrstand how to use this [int Length(char *s);] my teacher says This function r...
[2 replies] Last: thanks, I figured it out. My teacher wanted us to make or own version ... (by jls36)
Listening for keys UP DOWN LEFT & RIGHT (open gl)
 
How can I listen for the keys for UP, DOWN, LEFT and RIGHT? When I ran a test on this using the fu...
[2 replies] Last: with glut void Special_key_cb(int key, int x, int y){ switch( key )... (by ne555)
by Nohbdy
Pointer to undefined function value gotten at run-time, a way around?
 
// I'm practicing with pointers, first here's the code: #include <iostream> using namespace std...
[2 replies] Last: // Hah thank you very much. I used extern because I wanted to make it ... (by Nohbdy)
Displaying Korean text (한국말)
 
I suppose the picture will explain best. http://i1123.photobucket.com/albums/l542/Rufiofrancois/Prob...
[3 replies] Last: http://xoax.net/comp/cpp/console/Lesson45.php this page has a really g... (by Blessman11)
Delete certain couts?
 
I want to keep a title on the top of my program at all times, so I can't use ("cls") because that cl...
[2 replies] Last: Ah I see. 1. So in languages like DarkBasic Pro (What I first starte... (by snowboarder7)
Format output to table
 
The code I have written is suppose to present the data in two columns. The from temperature has t...
[no replies]
Input validation - inputting character to an int variable
 
I'm writing a trivia game program that gives a menu of options. The way I organized it, the user inp...
[7 replies] Last: I have a similar problem. The way I thought to solve it was to use a s... (by Argetlam81)
Function with multiple datatypes
 
Can someone explain to me how I can create a function that returns a value based on a datatype. F...
[3 replies] Last: Hey, thanks a lot guys! :D (by thepedestrian)
Please help!
 
Please forgive me, I am a complete noob that needs help with this program. The intention of this ...
[5 replies] Last: Thank you for your help! (by MadRedCzech)
how i can switch it into two single array ?
 
int busStop = {25,50,89,67}; int ticketPrices = {20,15,10,30};
[2 replies] Last: you got it boss thanks (by malikrgc)
String to Int
 
Hi, I have an array with string values in there and I would like to transfer them into an int array....
[4 replies] Last: Yeah, I had that problem before, when using strings. stringstream is a... (by Lynx876)
by Begin
Instantiate an array of objects
 
Hello, I want to create an array of object of class MyClass, but with different parameters for the ...
[3 replies] Last: @Athar: Thank you! I have a lot of reading with vectors, lists and deq... (by Begin)
Help with Void function
 
Hi, can anyone provide a little insight on some help with a void function? The purpose of my code is...
[16 replies] Last: don't worry about it. it doesn't make any difference to me :p I was j... (by Zap)
April 2011 Pages: 1... 4950515253... 55
  Archived months: [mar2011] [may2011]

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