Beginners - March 2009 (Page 26)

c++ array element counting function?
 
is there a c++ array element counting function example: input array size:6 output:the array size ...
[1 reply] : No. Arrays in C/++ don't have sizes in the sense that it cannot be obt... (by helios)
problem with arrays
 
#include<iostream.h> #include<conio.h> void replace(char ); void main() { char name ; cout...
[2 replies] Last: What's the problem? Code's output is :!./a.out Name????:tes... (by kevinchkin)
Recursion and Array
 
I am working on a project and it's main focus is to test my understanding of recursion. The second p...
[1 reply] : Recursion means the function calls itself. Currently, you don't have t... (by Ganellon)
"An Access Violation error"
 
Ok, so i have read about it on the web before posting this and i have changed it time and time and i...
[5 replies] Last: And if x and y are not manipulated within the body of the for loop, th... (by seymore15074)
by Dar13
Typing "exit" to exit program
 
Good evening everyone! I'm new to both C++ and the forums but have searched everywhere and have not ...
[6 replies] Last: thanks. =) (by Dar13)
beginner question->binary tree
 
im using book of borland C++ which available in C++ by hung Jinn Kwei to learn C++ in Visual C++ 200...
[4 replies] Last: :D i just found that i did a super lousy mistake, i finally success c... (by zeroriku)
by Space
SQLite, mutiplatform.
 
Hi, I'm programing (trying to) a program that must Open, Manage and Save a SQLite 2.1 database repe...
[no replies]
returning STL object from container class method
 
I am writing a sparse matrix container class using map<row, map<col, val> > as my data. In my matrix...
[3 replies] Last: vector<long double> x(1000,1), for instance, is okay right? Then I wi... (by kempofighter)
Writing Directly into the address of an 2D array?
 
Hey guys, I am writing a function which has the following form: void myfunction(double inpu...
[1 reply] : You can use pointers eg: void myfunction(double *inputArray, double... (by Bazzy)
Can You Pass Class References to Constructor
 
Greetings All, I have one class I'll call Main class and it creates and initializes all of the cl...
[3 replies] Last: solved..I was not defining the class reference correctly. Peace :) (by peacerosetx)
Great Way For Begginers To Start C++!
 
If you are just starting C++ then I preffer Dev C++. Search It In Google. make sure it is the Dev C...
[3 replies] Last: What's wrong with just a text editor and a compiler? I like cygwin an... (by seymore15074)
Weird bug...advice please.
 
It is kind of hard to explain exactly what is going on. So I will paste my code, as well as a screen...
[3 replies] Last: Actually nevermind, I got it all working. I just did getline( cin,... (by GunnDawg09)
using the do-while statement
 
I want to write a program that uses a do-while satement, that reads in an integer from the keeyboard...
[7 replies] Last: cin.ignore is better than getch and system http://www.cpluspl... (by Bazzy)
by xcure
How do I output the result/answer?
 
Good morning everyone. this is my program and I cant figure out how to output the answer. #includ...
[1 reply] : cout << "The result is: " << calcTwo; (by Bazzy)
by mudd2
Tutorial
 
Can anyone help me in making an assignment?? How about a tutor? Just until next week... please A...
[no replies]
by masiht
return value
 
What is return value ? why do we return value for every function ? why do we return 0 in the main ...
[3 replies] Last: The return value is the result of a function eg : (maths) f(x) = x ... (by Bazzy)
matrix class... addition in particular
 
below is my code so far for a program that dynamically declares a matrix (2-d array). What i am havi...
[3 replies] Last: matrix matrix::operator+(matrix &b) { //Use *this as 1 st m... (by Bazzy)
How to restart ur script/program ?
 
Alright so I have this program I am making. Started it just to kinda refresh some things I kinda alr...
[4 replies] Last: You can also use an infinite loop and a break statement: while(tru... (by Bazzy)
fseek error
 
Hi, I am using fseek to expand a file.. suppose the current file size is 100bytes.. now i...
[7 replies] Last: will modify the logic to use seek_end and will post what happens... (by terrordrone)
by xcure
Need assistance with the last part of my C++ HomeWork
 
Hello people. I love this site. I needed help with my homework and someone came through, even gave m...
[5 replies] Last: we can solve your problem by looking at the problem from the object or... (by muhamed)
March 2009 Pages: 1... 242526272829
  Archived months: [feb2009] [apr2009]

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