Beginners (Page 71)

argv pick up characters
 
trying to figure out how i can get the argv to pick up on certain characters and allocate them a fu...
[1 reply] : You are trying to compare floating point number to chars. you can acc... (by MiiNiPaa)
Why is this Breaking?
 
My Program keeps breaking whenever I run the file. It will only read the fist line of the file then ...
[1 reply] : You have a few issues here. sizeof(player) isn't going to be 20, yo... (by Volatile Pulse)
by Airyk
How do I print contents of a vector<vector<Tiles>> where tiles is an object
 
How would i print the contents of a vector<vector<Tile> where Tile is a pointer to an object? this i...
[5 replies] Last: You don't want to write literal 79 in your code at this point. You wa... (by keskiverto)
how to use namespace
 
I had developed file ll_namespace.h and put it in to includes in Eclipse namespace ll_namespace ...
[2 replies] Last: As long as you #include "ll_namespace.h" you would use it by doing t... (by Volatile Pulse)
by Ram1
Can somone please Help me with this..
 
Declare a multi-dimensional integer array with 10 rows and 20 columns with initial values of each el...
[1 reply] : int array = {0}; cout << "Enter a column and a row and a value: or... (by Smac89)
Output after using pointers
 
Can someone explain to me how to track the variables in the code below? It is a practice problem for...
[1 reply] : I just commented the code as I worked through the program. Take a look... (by Volatile Pulse)
by gduong
Overflow in calculation area of rectangle
 
I am so confused on why i am getting a overflow for my rectangle. void calcArea(){area=length*width...
[5 replies] Last: Damn i am so bad. I understand now. Ty very much (by gduong)
by K Cii
Vector & Permutations (Homework Help)
 
Hi, I searched and found similar topics but nothing seemed to help with exactly what I need. The que...
[1 reply] : Standard library example: #include <algorithm> #include <iomanip> #in... (by MiiNiPaa)
Parallel Arrays
 
OK this is what im trying to do Write a program that allows you to enter CD names into an array ...
[1 reply] : Change: cin >> n; // ... cin >> cd_names ; // ... cin >> cd_artists ;... (by Volatile Pulse)
seperate chaining, printing one duplicate string
 
I have a hash table that reads words from an input file, converts each word to a hash value, and sto...
[6 replies] Last: Nvm, got it. Thanks for trying to help :). (by halojim)
Random Movement
 
I need to make the bugs and ants move randomly throughout the grid. Will this allow for them to mov...
[9 replies] Last: Thank you for your help! (by giraffe1234)
by magyar
Structures not working
 
Hi, I am working with structures for the first time. I am not able to cout the data I read from a f...
[11 replies] Last: #include <iostream> #include <string> #include <fstream> using namesp... (by JLBorges)
Conv. int to Roman Numerals!
 
I have a project due tonight where I have to convert integers to Roman Numerals. The problem I ha...
[1 reply] : On line 81 you forgot an else, so the code at line 85 is executed. Als... (by ats15)
Queue using a Circular Linked List
 
I am new to C++ and need a little direction. I am working on a queue. It is telling me that my point...
[1 reply] : > It is telling me that my pointer "new_data" is not initialized, but ... (by ne555)
auto fails. What is the type here?
 
#include <map> #include <functional> struct A { void func1 (int x) {}; void func2 (int x)...
[10 replies] Last: Yes. A non-static member function with one explicit argument has an a... (by JLBorges)
by lafo
Declaration of a Variable with a loop
 
hey guys, I am writing a code and have a problem I hope you can help me. :) As you maybe can see ...
[2 replies] Last: thanks for the help dude. i was so on the wrong track and didn't thoug... (by lafo)
Math and pointer location
 
Please help me find what is wrong with this code. I mean seriously I have combed through it more th...
[1 reply] : Just scrolling through your code: [code firstline=174]x=rand()%(10^(b... (by Smac89)
Overloading <<
 
When I had my code on one big page is was working fine but as soon as a try to organize it and make ...
[1 reply] : friend std::ostream& operator<<(std::ostream& is, IntArray& ia); ... (by ne555)
Rock Paper Scissors Help
 
Hi all, this is my first post. I need some help with my code for Rock, Paper, Scissors. The program ...
[2 replies] Last: Oh wow haha, thanks so much I appreciate it! (by Jacman11)
Pages: 1... 6970717273... 116
  Archived months: [feb2014]

Cannot post in this page. To post a new message, go to the first page.