Beginners - November 2009 (Page 2)

about 2D array problem with text file.
 
Im new in write program.And I write this program face many problem please help me to fix it>< Sourc...
[no replies]
Nested for loop problem
 
Why do i get no output from the second for loop? #include <math.h> #include <vector> #include ...
[no replies]
Deleting from A(m,n) array
 
Hello everyone, I need to delete a line element from A(m,n) array, whose index is at B(m) array. ...
[1 reply] : I don't understand what you're trying to do but try an STL container:h... (by mcleano)
by NiLiFe
curses.h console resize
 
Hello, i have a problem with resize window/terminal in curses.h library. i found this: http://inv...
[1 reply] : This is how it should work: int main() { WINDOW *win; // poin... (by Bazzy)
Full screen
 
How to make my program run in full screen mode?
[6 replies] Last: On Vista isn't possible, on XP call SetConsoleDisplayMode(GetStdHandl... (by Bazzy)
std::bad_alloc problem
 
Hi, I am new to C++ and have got std::bad_alloc error when I run the code. I tried going through th...
[4 replies] Last: I got it resolved. I was putting so many things inside the loop which... (by abhishekarun123)
Plasma pistol output coming out wrong.
 
I'm having diffuculty figuring out whats wrong.Its showing no errors but the output is wrong for the...
[3 replies] Last: pistol B is using the overloaded constructor, But you have not set val... (by tene)
Vector of classes
 
I decided to leave arrays behind and get into vectors. They seem pretty simple so far but I'm havin...
[2 replies] Last: Now it works... I tried that before and I got complaints from my comp... (by closed account Sy0XoG1T)
Using the random function outside of main function
 
I have to write a program that randomly displays math problems like 5 + 2 or 3 x 8. I have a seperat...
[4 replies] Last: NB the function does not do what the comment says it does. Look again... (by jsmith)
Does any of this make sense?
 
#include <math.h> #include <vector> #include <string> #include <iostream.h> using namespace std...
[2 replies] Last: Looks like someone likes redundant parentheses. (by helios)
Word game, with arrays
 
I am trying to take an array that is entered by a user and output blank lines that correspond to the...
[6 replies] Last: Underscores are very simple. Just print in the exact same way you did ... (by tummychow)
by drzura
Correct way to enter data into an array?
 
Hello I am trying to assign some values to an array using a struct as the base. The struct is globa...
[5 replies] Last: My intentions are to: 1. Input a character from a file. 2. If the ... (by drzura)
Can't run program
 
#include <iostream> #include <string> using namespace std; int main() { string input; cou...
[8 replies] Last: You're supposed to choose "multithreaded debug" if you're compiling fo... (by helios)
Segmentation Fault
 
I am familiar with Windows programming, but totally new to *nix so I hope this isn't a stupid questi...
[5 replies] Last: Try using cin.getline(). (by firedraco)
by liraz
free()
 
if i create by malloc a pointer p from type char* and i do free(p) what will be the value of p ...
[1 reply] : The value of p doesn't change, and no, you can't use that memory anymo... (by helios)
It doesn't add up
 
I'm running Vista and a Dev-C++ compiler. My initial program runs through the compiler fine but i...
[7 replies] Last: My guess is that OP forgot to recompile. (by helios)
merge two list
 
Please anyone give me a hint to merge 2 ordered list object (without using STL) Thank you
[5 replies] Last: I'm thinking of run from 1st to last element of first list, and inser... (by herbert1910)
by ShadoX
creating a huge int massive
 
Hallo all! I'm new there and to C++. I need to create a massive that can store 1000000 int type ...
[4 replies] Last: Not 4 Gb, but only 4 Mb. You're right, sorry. (by Bazzy)
Hash Table dictionary
 
Hi, i have built a hash table dictionary based on the linked list class, the List and Meaning c...
[1 reply] : i don't see your IndDicT class, so i don't really know how it works. ... (by herbert1910)
For
 
As i learned from tutorial, #include <iostream> using namespace std; int main() { int broj;...
[1 reply] : This shouldn't even compile first, you assign letter '1' to broj, n... (by Null)
November 2009 Pages: 1234... 25
  Archived months: [oct2009] [dec2009]

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