Beginners (Page 9)

Bigint Mulitplication
Here I've got a bigint calculator that uses a safearray class(not shown) to store large numbers and ...
[no replies]
sum of the numbers
#include<iostream> using namespace std; int main() { //1+2+3+4+<=10 // 1+2+3+4+5+6<=21 int s...
[3 replies] Last: #include<iostream> // #include<string> using namespace std; int main(... (by ZeroSploit)
by Lee125
Can anyone help this example I try but it cannot run. I dont know what is wrong. #include<ios...
[5 replies] Last: This error message. 'class box' has no member named 'removeItem' box.c... (by Lee125)
Switch not execute commands(&& crosses initialization)
Hi! I meet problems with Switch statement... Because when I try to execute some code in main it's r...
[6 replies] Last: 1)Why my code don't have "a decente identation style"? O.o I leave bac... (by Ray Soy)
Creating a BlackJack game.....
Write your question here. In curiosity, how could I go about creating a blackjack game with standard...
[12 replies] Last: @whitenite My lecture said we were going to write a game in c++ but i... (by Styles Kelvin)
by Gi Pa
Local vector
Hi to everyone, I've to do the following exercise, Given a global vector gv, I have to define a func...
[3 replies] Last: You haven't finished all of the assignment yet, so I'm not sure what y... (by LB)
ordered doubly linked list
this code insert elements in doubly linked list in ascending order but when i try to insert element...
[3 replies] Last: I don't think that you're understanding what I'm saying. node *K; ... (by fg109)
[UPDATED] Logical error happened.
I am a beginner and i'm quite confuse to produce the output as the image link below, especially the ...
[2 replies] Last: @whitenite1 Thank you so much Mr. White. Main problem fixed. I will t... (by jackiettw)
by enemy
Online exampel not working- tempalte function
Hello, found that example on net and it does nto work, says should be int main instead of void???//c...
[1 reply] : main should always return type int. (by AbstractionAnon)
by oseri
Cant figure out constructor/operator calls
In this code : class A { public: A(int n = 0) : m_n(n) { } A(const A &a) : m_n(a.m_n) { } A(A&...
[3 replies] Last: So are these lines equal ? : Yes, it wouldn't make sense to create an... (by coder777)
by alexBB
Looking for help in explaining two code lines
I am facing a problem of converting the code below to Fortran. I've done such things before successf...
[2 replies] Last: Thank you. It seems to have become clear now. - Alex (by alexBB)
by enemy
arguments of the class function
Hello! Please, constructor has agruments but sum function not. Is there a definition that makes it...
[5 replies] Last: What moment? (by keskiverto)
by enemy
Friend can't see private members?
Hello! Please, function mmm is ment to be a friend function. So, it shoudl be able to see a and b, ...
[3 replies] Last: Solved! Done! MANY THANKS!!! (by enemy)
by snippo
how can I avoid the duplication of the customer name???
the question is  Open the file (CUSTOMERS) that maintains all the CUSTOMERS records.  Ask th...
[5 replies] Last: (by keskiverto)
Deleting number from array using a loop
This code returns: array size is: 3 1 is present in the array 1 2 3 1 0 I want the code to re...
[3 replies] Last: For line 48 I don't know what forgetting the size of the current arra... (by keskiverto)
Problem with first character of a char variable
Hello! I need to count the number of times vocals appers in a text, but when I do this with the f...
[1 reply] : The size of the array numar is 9 not 10. I.e. i < 10 will go out... (by coder777)
Help with strings and array......
Say, I make an array of playing cards called Deck from a structure, and then below main I initializ...
[2 replies] Last: This is of course an implementation of one of my last threads, but rat... (by ZeroSploit)
Collision Detection of Multiple Objects
This is a very general question and seemingly a basic one at that, perhaps so much so that it's just...
[1 reply] : use an octree, They are straight forward, i wrote one myself last yea... (by Jaybob66)
by ahu
plz solve this
Write a C++ program that contains the following: 1. Function that reads an array of 5 integers usin...
[1 reply] : This is not a homework service. We will help you with your assignments... (by Zhuge)
by kunz
i have a code like this but it does not seem to work int randomin(void){ const int MAX...
[4 replies] Last: We can't really avoid implementation-defined behaviour; for instance,... (by JLBorges)
Pages: 1... 7891011... 94
  Archived months: [feb2015]

Cannot post in this page. To post a new message, go to the first page.