Beginners (Page 82)

by s1l3nt
Calculating number of rows in a 2D array
I am writing this simple program that takes an 2D array like such: "######################", "#@ ...
[2 replies] Last: I see I kinda screwed myself here, because at some point the @ would ... (by s1l3nt)
by hero80
learn by teaching
Write your question here. Am a beginner in C++ language. am a 2nd year student in computer science ...
[5 replies] Last: Do you have trouble understanding what you read? I wasn't comparing dr... (by BHX)
by myregm
I want a function or algorithm ot find similar elements in two or more lists (from STL). for example...
[1 reply] : There may already be a function to do this, but here's some pseudo-cod... (by Yay295)
Switch statement & if statement issue
I am writing a choose your own adventure sort of thing. My code is included below. Since there is a ...
[2 replies] Last: Oh, thanks so much! (by compass)
adding odds
hi everyone, so I want SumOdds to add for example the first 4 odds, but the function is taking 4 as...
[4 replies] Last: got it! thanks again! (by serrld113)
Testing each array
The program below will generate 5 random numbers and asks the user to enter 5 numbers to see how man...
[2 replies] Last: Ohhh that worked. ty (by darkn3ss)
Copying a pointer's items to another pointer
So I have these instructions: " If there is NOT enough space Set m_space to m_space + 5 Allocate...
[1 reply] : line 10 is not how you delete a pointer. Use delete m_items; I'm ... (by Yay295)
by DianaV
Hi, I changed books from Jumping into C++ using code-block as my compiler and #include <iostream> to...
[15 replies] Last: You could add the includes to the .cpp instead of including the header... (by admkrk)
Insert int into int array
Hi guys, I'm having trouble trying to put an int into an int array. I'm supposed to use a function c...
[5 replies] Last: thank you! I was able to fix the problem by adding a -1 here: for (i... (by serrld113)
by dave92
Dudeney Number problem
hello everyone :) iam new here and i wish to learn from the pro programmers over here iam having...
[4 replies] Last: thanks again for your help that was kinda helpful but i still didn't... (by dave92)
unable to print float
Im using ncurses but there seems to be NO WAY that i can print a float to the console. is that reall...
[2 replies] Last: You can use printw or similar. It uses the same format as printf. http... (by Peter87)
"deleting" last int of array
I enter the numbers 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 into the array and choose a number to delete...
[7 replies] Last: you declare an array of size 'SIZE' valid index for accessing that arr... (by ne555)
Need help with the simple "hello world" program
I am having a problem with the hello world program. It use to work fine then all of a sudden this "l...
[4 replies] Last: no problem, but we are going to need more information to help you. you... (by Little Bobby Tables)
Boost-like matrix of smart pointers?
Hi all, For performance reasons I need to build a matrix of pointers to objects instead of plain ...
[1 reply] : Line 11: Node is on the stack. Although Node is pushed on the stack ... (by AbstractionAnon)
c++ program:unexpected output
#include<iostream> using namespace std; struct elem{ int a; int b; }; void display(el...
[1 reply] : Do you realize that you have computed the difference of the pointers i... (by jlb)
pseudo code
i'm reading c++ how to program by paul deitel. im having some problem with ex 4.13. Drivers are conc...
[2 replies] Last: Thanks (by Reaper2984)
C++ Gui
Since i m new to c++ gui so tell me how to use QT .... I mean how to make simple hello world progra...
[12 replies] Last: Thanks to all of you i have got it working .........yeahhhhhh (by Salman0349)
When displaying the months with the highest and lowest rainfall amounts, it displays month nan.
#include <iostream> using namespace std; int main() { const int NUM_MONTHS = 12; ...
[3 replies] Last: What is the value of count ? Consider this code: for (count = 1; co... (by Chervil)
C++ Primer thousand pages?
Why is c++ Primer contain a thousand page? I mean most books teaching c++ is not that long. Is ther...
[11 replies] Last: nope :) (by mutexe)
by f8al
Help understand a class question
I had a question like this You are writing a computer game and you are going to allow the player ...
[2 replies] Last: But if I was going to put this in C++ wouldit by like this Not exac... (by Z e r e o)
Pages: 1... 80818283
  Archived months: [jun2014]

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