Beginners - July 2014 (Page 43)

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)
Class constructor problem
 
Hello can anyone tell me what's wrong here: #include <SFML/Graphics.hpp> #include <SFML/Audio...
[1 reply] : printf is displaying 1 for me. Everything in my code should be same as... (by Ganado)
First Application Idea
 
Ok, my question is that I want to make a program that pulls a certain string of characters from amaz...
[5 replies] Last: I would love to use firefox, but the guy I am trying to write this fo... (by ibdv4521)
Extract word from string
 
I've never really spent the time getting into more string manipulation than I thought necessary so i...
[3 replies] Last: Yep those two functions made it easy, thx. (by LsDefect)
by Winter
cout a string variable?
 
A little confused here, I'm getting this error. http://i.imgur.com/PKJp2eF.jpg EDIT: char* works f...
[4 replies] Last: String is much more convenient than char*. http://www.cplusplus.com/re... (by keskiverto)
by Rockyy
Writing Hexdata to file
 
Can any one let me know a small function which write hexdata to file. Suppose if i give input ffff,...
[1 reply] : Use read/write. Remember to open the file as binary. (by kbw)
by yepMe
File static and unnamed namespace
 
Hi all, Kindly explain these two terms, I do not want the difference between them, just explanati...
[8 replies] Last: The whole (small) program can be in one translation unit. http://stack... (by keskiverto)
I want to learn Embeded program
 
I have been worked for 3years as a window programmer. My most work make serial or TCP/IP progra...
[2 replies] Last: Thanks (by prodo5050)
by mehak
program to list all files of .txt extension
 
i am trying to list all files in the directory with .txt extension but in vain.please help me with t...
[4 replies] Last: #include <dirent.h> #include <stdio.h> #include <string.h> int main... (by mehak)
Compiler Error
 
This program is supposed to read data from a file and determine whether or not the string is a pangr...
[1 reply] : At line 17 you are not initializing one string, but an array of string... (by Yay295)
Problem with compiler or IDE or OS ?
 
I have a problem when i try to debug a program sometimes it keeps on debugging forever and the break...
[5 replies] Last: Throw some extra code into the program to print out where it is in the... (by dhayden)
incorrect loop bug
 
hello. i am writing an Opengl application that manipulates a cube by rotating all 3 axis's using the...
[1 reply] : found the problem. don't know why i over looked it. i needed else if's... (by dark ninjuh)
Arrays and Functions
 
Hi, Im having trouble with my C++ assignment and was hoping for some help. I need to create multi...
[2 replies] Last: So you're problem is that you don't know how to put this into multiple... (by gingy)
GCD the Brute-Force Way
 
Ok. I already wrote a program to compute the GCD of 2 numbers using Euclid's algorithm, but now I ha...
[11 replies] Last: There's no such thing as a greatest common factor. Now, a least common... (by helios)
July 2014 Pages: 1... 414243
  Archived months: [jun2014] [aug2014]

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