Beginners (Page 14)

Suggestions for keyword
 
I wrote a code for print a keyword using conio, any suggestions for improving? void teclado(...
[1 reply] : Hello victorio, First suggestion post code that can be compiled and r... (by Handy Andy)
Question in integer var
 
Why if I did not assign zero for integer variables it may return wrong negative value? #inclu...
[6 replies] Last: > cout<<"factorial of \t<<n<<"="<<endl; The wacky colour scheme that'... (by salem c)
Recursive Program
 
I've been try to get an array of numbers to order them selves with a picked pivot. The numbers great...
[2 replies] Last: Hello Deadweight77, To start with I would move line 42 to between lin... (by Handy Andy)
by CarlTY
Array function not working
 
Compose a capacity named arrayToFile . The capacity ought to acknowledge three contentions: the name...
[1 reply] : PLEASE USE CODE TAGS You could also do with a better translator! "com... (by lastchance)
Getting information from the internet
 
Hello guys. I am a beginner in c++. Yet, I have an assignment to make a chatbot that replies to ques...
[1 reply] : Double posted -> http://www.cplusplus.com/forum/general/265361/ There'... (by salem c)
How does the following code work?
 
I have problem understanding the following code calculating the factorial numbers smaller than a cer...
[2 replies] Last: Thanks a lot. (by jacks9807)
Sum of float and integer and its output
 
Hello :), float f = 0.0111; int i = 1010; float f2 = i + f; cout << f2; // output: 1010....
[7 replies] Last: to a point you can store it as 2 integers, the fraction and the whole ... (by jonnin)
Looking for website for binary tree / algebraic expression
 
Hi I am wondering if anyone knows a website or application that allows you to put in a algebra expre...
[1 reply] : Mathematica can take in an expression and build a tree (lists with emb... (by Ganado)
by ravss2
C to CPP Migration
 
I am trying to write a C++ solution for a problem which is written C, I have learnt C++ very long ag...
[13 replies] Last: strings are compared slower than integers. So strings will be a hair ... (by jonnin)
std::sort function compile error
 
So, I'm supposed to use different sorting functions and and compare the times in microseconds to eac...
[4 replies] Last: To get it to run, change line 304 to std::sort(array, array+size); ... (by dhayden)
by AL88
expected class-name before ‘{’ token
 
Why am I getting : Player.h:15:1: error: expected class-name before ‘{’ token Enemy.h:9:1:...
[3 replies] Last: No forward declaration. Just #include "Game.h" into the SDLGameObject.... (by coder777)
Declaring structs/classes as private with a class
 
Problem: At various points in working with linked lists, stacks, queues and trees, I have tried to ...
[2 replies] Last: If Node is private to a class, then it will be inaccessible outside th... (by lastchance)
by deputy
2D array histogram
 
I need to print out asterisks for equal amount of value in this programm,but i'm kinda stuck with it...
[3 replies] Last: Thanks :) (by deputy)
Need quick help!
 
I'm new here, so I don't know how this works. I need help this quick assignment that I'm having trou...
[2 replies] Last: Hello FutureCS, When you look at the instructions like this you see s... (by Handy Andy)
Help with grade calculator using arrays
 
I am writing a program that is supposed to (set a max possible points and find the number that refer...
[6 replies] Last: Wow, I really appreciate the details that everyone has provided to me ... (by brownt898)
Delete last element of dynamic array
 
Can I delete the last element of dynamic array using delete operator ? example: int main(){ int ...
[12 replies] Last: So is it correct ? No. #1 Deallocate everything that you have alloc... (by keskiverto)
Heap Corruption error in C++
 
Hello, In destructor when I w ant delete array I have heap corruption error. If I add array = NULL; ...
[8 replies] Last: In other languages like C# and Java, we have Garbage Collector. In C a... (by Shervan360)
File Handling - Binary Problems
 
HELLO ,I AM NEW HERE!! I MADE A PROGRAM FOR MY SCHOOL PROJECT , BUT I AM FACING A PROBLEM(MORE LIKE...
[6 replies] Last: Easy on the caps-lock key tiger. http://www.catb.org/~esr/faqs/smart-q... (by salem c)
Help with reused equations
 
So I'm making a program where I use sorts. In my output I'm trying to print the time it took and the...
[9 replies] Last: I think you want something more like this: for (int i = 0; i < 5; i++... (by dhayden)
Organize terms (1,2)
 
I need to organize 5 million terms within a txt by the number of occurrences. What software can I ...
[21 replies] Last: The key to this problem is recognizing that while you're counting item... (by dhayden)
Pages: 1... 1213141516... 23
  Archived months: [oct2019]

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