General C++ Programming - August 2012 (Page 3)

Whats going on with accessing my array via a pointer?
Hi, Please forgive me if I am asking a silly question but I am trying to understand what the foll...
[4 replies] Last: Thank you all very much, I now understand whats going on and how the v... (by jaymac78)
Search PI for missing sequence digits
Hi I know there are plenty of places out there where a person can track down digit sequences within...
[17 replies] Last: There's nothing to create. You find the .exe file somewhere in the pro... (by Athar)
structures with pointers.find the output
#include<conio.h> #include<stdio.h> void main() { struct st { int i; struct st *j; }t...
[2 replies] Last: Oh I see the difference now. Trying to call a pointer with " . " ins... (by Anthony Hernandez)
Creating a Key Logger
I know this title will immediately get the attention of admins and such but I would really really re...
[11 replies] Last: @ModShop, I wish that was a real link :( (by ResidentBiscuit)
by Penx
Bubblesort error
I have some homework where I have to use Bubblesort to arrange 500 randomly generated numbers. (In c...
[6 replies] Last: You should take a look at comb sort, lots of fun to be had with comb s... (by Zephilinox)
Two questions about input
My first question relates to the endl manipulator, which writes a newline character to the output ...
[6 replies] Last: Okay, I understand, thanks. (by Flurite)
Declare pointers to strings
Hi, I'm a first year programmer in college and I'm in progress on a worksheet for my data structure ...
[3 replies] Last: That is precisely the right response (by Script Coder)
How do I replace a word from a .txt file?
I'm trying to make a program that will find a certain word from a text file, then replace that word ...
[3 replies] Last: #include <string> std::string replace_substrings( std::string str, ... (by JLBorges)
WMI and Variables
I am struggling to find an answer to this one and i am wondering if any of you can help me: When ac...
[1 reply] : #include <iostream> #include <string> #include <windows.h> int main(... (by JLBorges)
Pointer in c/C++
Hi to everyone, I have very basic doubt in Pointer. I have declared a variable like this ...
[1 reply] : Your example contains an error. It is not obligatory that sizeof( int ... (by vlad from moscow)
by vw4x4
advantages of short data type
what are the advantages of short over there any?
[2 replies] Last: It's usually smaller than int Basically I think that also depends on... (by eypros)
by Ikaros
unresolved overloaded function type - problem
Hi. I try to find maximum element of a vector. But I get error message: cplxOp.cpp:18:52: error: no...
[3 replies] Last: Thank you very much. Sorry, that static_cast<bool(*)(CvPoint&,CvPoint... (by Ikaros)
password help
can you help me debug this? void logo(); void program_start(); void main_menu(); struct pa...
[2 replies] Last: placement of getch is wrong in my openion (by adi29raj)
by lmd141
Unhandled exception
Hi there, I'm fairly new to this C++ thing so I hope you can help. I'm writing a program that pri...
[7 replies] Last: Yeh, I wasn't calling RanGen.Random() inside the loop, which meant it ... (by lmd141)
may i know what is wrong with this code?
void bejeweled::loadGame(int& score, int& LIFE){ reallocateMemory(); char temp; int ...
[4 replies] Last: ic, i understand now, thanks :) (by denniscpp)
Surface Normal Calculation
After looking around this code should be able to calculate the normals for triangles/quads however I...
[13 replies] Last: I have a feeling the math part of it is going to hurt me more than any... (by Hippogriff)
by aeon9
[1 reply] : Is this just homework? (by kbw)
by Cearl
Question, yeah, it's me again. Is there any way to add structures together? for example, i ha...
[1 reply] : No that is not possible (short of manually assigning individual elemen... (by Disch)
by Ikaros
Problems with header files and complex numbers
Hi, I need to implement a numerical algorithm using complex numbers. But, I haven't get that working...
[4 replies] Last: Thank you for both of you. Problem solved and my code is working. (by Ikaros)
Vtable Mechaanisam
I never actually thought how it worked. It is actually quite amazing. Thanks for the educational li...
[2 replies] Last: For each class having virtual functions,one Vtable is created.class vi... (by admin1982)
August 2012 Pages: 12345... 31
  Archived months: [jul2012] [sep2012]

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