General C++ Programming - December 2010 (Page 14)

UseSystemPasswordChar
 
hello, I need to use UseSystemPasswordChar the get user name and password from two textboxes. I have never used this property before and i cant find much info o...
[no replies]
by timsid
C++ program_Challenging problem (flow discharge) !!
 
Hi everyone, I've found these instructions in a C++ exercise book, and wondered if anyone could have a try, because I am not able to make my program work. It w...
[2 replies] Last: this is so familiar. do you have the codes for this question? (by julianboy)
by xephon
Looking for Functions to draw simple pictures
 
Hi all, I'm looking for any kind of built in or third party library and functions that can simply draw lines and dots on standard console. Any suggestions...
[3 replies] Last: With threading and a graphics library you can display graphics and tex... (by rocketboy9000)
Friending Namespaces?
 
Don't really need to know this for any project, I just thought it would be really helpful later. My question: Can you friend a namespace like this? //header...
[4 replies] Last: It would kind of violate the whole point of encapsulation if you allow... (by Zhuge)
by aptc
Vector management problem while handling pointers
 
hi, i have this problem within this code: #include <vector> typedef struct { int data1; int data2; char* data3; } Struct1; typedef struct { ...
[1 reply] : you have to delete them yourself. (by hamsterman)
by Nucco
Operator Overload
 
Hello world, first time poster here. I'm having some trouble using Operator Overloading in a C++ project I'm working on. I've read articles and tried to und...
[3 replies] Last: Change the return value of operator+ to sphere. You should have it ret... (by naraku9333)
by dytsep
linking files
 
I am getting an error when I am trying to link my 3 c++ files-- tut.cpp, extra.h, and extra.cpp. I get an error sayinging "undefined reference to winmain@16". I...
[no replies]
What is wrong with my program??Collatz Problem
 
The following iterative sequence is defined for the set of positive integers: n n/2 (n is even) n 3n + 1 (n is odd) Using the rule above and starting w...
[3 replies] Last: yeah i fixed it...the long wasnt big enough ...Thanks anyway.. (by abelthayil)
Visual C++
 
I know this is not quite the topic of this forum and i apologize for that, but i was wondering if anyone knew of any good visual c++ tutorials available online....
[2 replies] Last: both i guess. (by squirtman59)
Ifstream >>>.If object not created than ask for the input again .<<
 
Hi, I m writing a pice of code to read a txt file from the program directory and process the contet text for counting the word as a part of the functionalit...
[7 replies] Last: ya you were right! That Finally worked and I am highly Obliged by your... (by rocky86)
3 errors I cant seem to see them
 
Syntax: #include<iomanip> #include <fstream> #include <iostream> #include <string> using namespace std; struct StudentRecord { int studentId; c...
[8 replies] Last: change mvoid to void on line 136 (by Seraphimsan)
How to return a multidimensional array
 
I am attempting to return a multidimensional array from within a function of a class. Is this possible? I can only get the data by making the array public a...
[10 replies] Last: That last part was mainly for me to see the short output. I'm learnin... (by zltippett)
Absolute Zero...
 
Hey all. I'm doing some work on my linear algebra package. I'm actually writing a function to factorise a square matrix 'A' into LU components. Anyway, that ...
[2 replies] Last: Thanks for that Bazzy! (by NickPaul)
Forums for C-sharp
 
Hi all, I have been using this forum for almost 2 years now. Does anybody know about a C# forum as good/active as cplusplus.com? Thanks for the prompt res...
[no replies]
Is it possible to access a vector in cpp file that belongs to another cpp file?
 
I'm trying to access a vector of movies from my movie.cpp file and use it in my client file. how would i go about doing that?
[1 reply] : You need to make a movie.h file and declare your vector in that: #... (by Galik)
Having a hard time with this structure
 
Its due midnight and i'm really starting to panic. Can someone help me fix it. Syntax: #include<iomanip> #include <fstream> #include <iostream> #include...
[9 replies] Last: Line 132 appears to have an extra '{' for no reason. (by firedraco)
i need some support with my program
 
I am a student and our prefessor has given us an assignment to creat a game in C++, the game is about a player tha moves in a space trying to reach homeland. i ...
[6 replies] Last: I have no idea: Try this site: http://msdn.microsoft.com/en-us/library... (by kooth)
Non-const variable for global use ..?
 
Hello. I have a common.h file containing only: const int i = 1; main.cpp: #include <stdio.h> #include "common.h" void This() { printf("In This, ...
[4 replies] Last: Thanx a lot (by hakermania)
Templates on templates
 
Hello, This works: #include <vector> template <typename U> void doIt(const std::vector<U>& x) { } But this does not: template <typename T...
[2 replies] Last: Thanks. (by rapidcoder)
Converting from Char * to Char Array
 
Hello, Sorry if this seems like a dumb question, but I am trying to convert a Char * to Char Array and I cannot figure it out. Every time I think I get...
[3 replies] Last: I want to convert to a character array because I want to be able to r... (by h9uest)
December 2010 Pages: 1... 1213141516... 24
  Archived months: [nov2010] [jan2011]

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