Beginners - May 2014 (Page 20)

Registering on Code:Blocks Forum
 
I've tried registering on the code:blocks forum without any luck. Yes, I know this forum is for cplusplus beginners but...I'm desperate... I'm wondering if som...
[2 replies] Last: Good idea, I'll try that. Thanks for the http link. (by papagym177)
Memory leak problem. C++ Task Manager!
 
Been sick the last week, haven't had a lot of time to work on my program..Due tomorrow for class.My problem is that for some reason my program is creating error...
[1 reply] : http://www.cplusplus.com/forum/general/112111/ http://www.eelis.net/is... (by ne555)
Need a new set of eyes
 
Hey guys, Just need a new set of eyes on this code - something is up when the Username or Password is incorrect - the console crashes completely instead ...
[2 replies] Last: Perfect - fixed. Thank you! (by StringTheory)
string help/errors
 
I'm working on a project for my programming class and I cannot figure out where I went wrong. The project is to write a program that demonstrates how strcpy, st...
[9 replies] Last: #include <cstdlib> #include <iostream> #include <string.h> using nam... (by CodeGoggles)
Passing Pointer Arrays
 
I wrote this a while ago... how does it work in a data sense? Like what is the computer doing in terms of initializing and passing variables? thanks. sorry for...
[2 replies] Last: Thanks a lot! (by ASCII14)
Trouble Printing an Array
 
I'm having issues printing out the array. I have to take it in in the main and print it out in a function. A quick explanation would be great! Thank you. ...
[1 reply] : names ==32; on line 25. Why do you have comparison happening here? ... (by CodeGoggles)
help with an error (1,2)
 
Hello everyone I get this error: Error 2 error C2679: binary '=' : no operator found which takes a right-hand operand of type 'int' (or there is no acceptable...
[20 replies] Last: i will work on that thank you:) (by ibasraeehilm)
Using text file data in c++
 
I want to display data that is in text file and than use it in my c++ code The problem in my code is it shows empty screen when i try to display it The forma...
[4 replies] Last: :D thank you it works but i don't understand how (by Sharan123)
by zxx
How do i create a program to switch a iterative using one loop?
 
How do i create a program to switch a iterative using one loop that move element lesser than 25 to the left? int main () { srand(time(NULL)); int a ...
[2 replies] Last: void iterative (int a ) { int max; max=10; for (int i =0; i<max; i... (by Pter0dactyl)
Problem with fstream
 
I may be pretty proficient in html but i am a newbie to c++. I am trying to create a program that lets me write basic html webpages. i want to be able to writ...
[2 replies] Last: Thanks A lot, You fixed my problem! (by cannedfruit)
Spaceship invaders
 
Hello. I'm trying to write a game code which is : A matrix of (NxM) Enemies - a numbers of enemies placed on the map Bombs - I can detonate sets of cells l...
[2 replies] Last: Thank you very much, it really helped. Now I'm going to code it. (by forxout)
size of array
 
The function m.size() works only if i declare array as say array<int,5> m, but not with int m . Why is that? The code below doesn't work: #include <iostr...
[9 replies] Last: I see, thanks. (by LayMuon)
by samop
Using std::to_string
 
Hi Can anyone suggest what's wrong here... int lettercount; lettercount=strlen("ABC"); subwin->doco->setPlainText(std::to_string(l...
[3 replies] Last: Hi guys It worked with subwin->doco->setPlainText(QString("You ty... (by samop)
How to insert value in Vector (Dinamic Array) using For?
 
Hello, i want to make a function to be able to Insert a value in an already set Vector or dinamic array, using FOR, ive done this much so far: #include "e...
[3 replies] Last: for(;false;); //Hey, I have used "for"    Serious version: bool Co... (by MiiNiPaa)
Data Entry Problem
 
Write your question here. Why am I not allowed to enter the person's name? The program skips over line 91. /* * Chapter 11 Problem 3 * * Create an ad...
[3 replies] Last: Thanks to both of you. Here's the final solution: getline(cin >> ws,... (by phztfte1)
HELP
 
i'm making a header file, but every time i compile shows : error: expected constructor, destructor, or type conversion before '(' token| and is the line that ...
[3 replies] Last: line 29 - you're missing a closing " for the block of text that starts... (by wildblue)
by Auroch
Counting words in file
 
Hello funs2code! I have the following problem. I need to count the number of occurrences of a concrete word in a text file. I've tried to count the number of oc...
[4 replies] Last: Oh... Hey @Chervil, first off thank you so much, your explanation make... (by Auroch)
any one can help me...
 
Create a class Rational for performing arithmetic with fractions. Take two private data members –the numerator and the denominator .Provide a constructor tha...
[4 replies] Last: thanks .. now i'll try what to do ; :) (by slk6556)
by locolo
Insert char inside string
 
If player guess the right word, it should go into string if not, should show used char like: hat - player press a - _a_ player press z - not in char, used_le...
[5 replies] Last: why guess doesn't go into the array?? used_letters = guess; an then ... (by locolo)
to pass pointers to functions (pass by pointer).
 
Okay so im playing around with pointers. i have given P the address of x = 10. But im having issues with incrementing the 10? I cant seem to call the doSomet...
[1 reply] : On line 10, you are using "pX" instead of "p". [code firstline=10] do... (by Daleth)
May 2014 Pages: 1... 1819202122... 55
  Archived months: [apr2014] [jun2014]

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