General C++ Programming - April 2009 (Page 19)

by obai
Runtime error R6025
 
Hello, I am trying to run my c++ programm and I get the following error in debug mode R6025 Pure ...
[3 replies] Last: http://support.microsoft.com/kb/125749 (by kbw)
by dkaip
another copy problem ...
 
I work on code blocks, the file is in utf8. When runs i take the problem. Program received signal ...
[3 replies] Last: wchar_t is a wide char, a permamently wide char, i.e. Unicode. You ar... (by kbw)
(SOLVED) "Ignore this" code ~ General Question
 
Hey guys, I am writing this code, and I just want to make sure one part of the code works while a...
[5 replies] Last: An */ ending comment block operator doesn't act like a brace. One will... (by eker676)
by jzackt
names will not switch using bubble sort
 
Im trying to rank a class from least to greatest by average, but Im trying to switch the names along...
[2 replies] Last: names_array is a char array. Thanks i will try strcpy (by jzackt)
getline (1,2)
 
I am to write a program in C++ to input my complete name and adress during program exicution and the...
[26 replies] Last: You don't have to press enter twice, the second time you pressed it wa... (by Bazzy)
to count the number of spaces vowels consonants and digits in a line
 
wads wrong with tis... #include <iostream> #include <cstdlib> #include <cctype> using namespac...
[2 replies] Last: If you ever want to check multiple inequalities, you need to use a log... (by jdd)
how to count spaces in a line
 
wads the problem with tis... int digit=0,consonant=0,space=0,vowel=0,i,c; char text ; cout<...
[2 replies] Last: That program is counting the number characters in the string. If you w... (by Bazzy)
Grab unknown number of integers out of a C++ string
 
I have a string that looks something like "Cell 4,102,210:13" The problem is that I don't necessaril...
[1 reply] : You can use stringstreams to get numbers from a string and a vector to... (by Bazzy)
Creating a two dimentional array.
 
Guys... was going through a post in beginner section.. Creating a 2 dimensional array in C ...
[9 replies] Last: In C++, you can always do something like this: //Create your po... (by Tristanm)
by ilyes
destruct a set of classes
 
hello, i have a question a about destructor. if i have a set of classes #include <set> ...
[2 replies] Last: I don't think it's needed. Say for instance: // ifndef BOB_H //... (by closed account S6k9GNh0)
abstract class
 
http://en.wikipedia.org/wiki/Prototype_pattern#C.2B.2B In the prototype pattern described on wiki...
[5 replies] Last: Thanks! (by n4nature)
by ilyes
set of class
 
hello, i have a problem with set. the problem is not the declarartion: set<TS> sec_ts; TS* t=ne...
[4 replies] Last: that is a good RQ ! my pb is resolved!!! (by ilyes)
by Disch
Derived function chainging problem
 
I'm having a design problem that maybe someone here can help me with. It's pretty tricky, but kind ...
[2 replies] Last: template< typename Derived > class A { Derived& a() { return ... (by jsmith)
by ilyes
a problem with the operator < in a set of class
 
hello, i need help!!! i have defined an opetarator in class TS bool operator < (TS const & ...
[2 replies] Last: Also assuming you ever write the destructor to free the memory allocat... (by jsmith)
Chess board program.
 
I'm supposed to be writing a program for a programming class that involves taking an infinitely scal...
[8 replies] Last: actually your design will not be able to solve the problem which are d... (by writetonsharma)
programe to perform Matrix Multiplication for 3x5 and 5x3 matrix.
 
can someone tell me wads wrong with my program.. #include <iostream> #include <cstdlib> using...
[8 replies] Last: Look at two for loops for(int i=0;i<5;i++) ( for(int j=0;j<5;j++)... (by buffbill)
Merge Sort
 
My directions are to create a program that will read two files containing a sorted number of integer...
[9 replies] Last: You can do this using two boolean functions more () and copy() providi... (by buffbill)
Insertion into Linked Lists
 
I'm trying to use insertion into a linked list by position. i.e. numbers.insertByPosition(0.5, 0...
[3 replies] Last: notice that while (nodePtr != NULL && nodePtr -> value < value) is... (by Gumbercules)
by ehullz
Maximum Velocity Problem
 
I am completely lost on this one - I've been told I'm making it too hard, but I'm still not seeing i...
[11 replies] Last: Well you could do something like: while(r>max_r) {//calculate r ... (by buffbill)
Overloading opreators error
 
Well, I am overloading the << and >> operators for two of my custom classes, and I am getting this e...
[4 replies] Last: Ok, I found the error. There was another function I was calling insid... (by firedraco)
April 2009 Pages: 1... 17181920
  Archived months: [mar2009] [may2009]

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