Beginners (Page 36)

by gunay
bubble sorting
Write your question here. Hi there, pls comment my mistakes #include<iostream> using namespace ...
[1 reply] : First, please use code tags when posting code. See http://www.cplusplu... (by keskiverto)
check whether certain variable is member of that structure
I want to check if certain variable is member of structure or not. For example, I have a structure...
[3 replies] Last: A struct is a class. Members of a class should be initialized by the c... (by keskiverto)
C++ vending machine
WriteCreate a program that simulates a vending machine. The vending machine offers three products: S...
[2 replies] Last: Perhaps you should plan out what your program is going to be doing. It... (by fiji885)
by Carat1
getting website text
this code gets the pastebin text and puts it in a textbox. how can i make it read line by line inste...
[7 replies] Last: Yes .NET makes many things very simple. BTW. It might not work with a... (by Thomas1965)
Reading .txt file to 1D and 2D arrays
I have a .txt file that have data that read like this: Abraham Jackson, 10, 15, 10, 13, 8, 18, Joe...
[3 replies] Last: I answer this with caution as, without seeing the actual terms of your... (by lastchance)
Why am I getting Syntax Error? "error C2059: syntax error: '<<'"
Trying to see what I'm overlooking in order to get this error code when building my program. #i...
[2 replies] Last: Ah, thanks! (by Saviorskid27)
Can't get output to product decimal
I am trying to calculate the quotient of two numbers. However, when they do not divide evenly, I wan...
[3 replies] Last: double quotient = integerOne >= integerTwo ? double(integerOne)/... (by cire)
Trying to find largest number
I am trying to find the largest number from a set of three user-inputted integers. I started c++ one...
[2 replies] Last: @joe864864, thanks a lot! That was a very quick, sufficient answer. I ... (by stormbot)
by Rufyi
Need help with array type question
I am working on a problem which requires me to go through the same array multiple times, first every...
[1 reply] : #include <iostream> template < typename T > void print_subsequences(... (by JLBorges)
Help with blank outputs in while loops
I'm currently trying to create a while loop where the output will count by 2s until it matches the i...
[2 replies] Last: Hi, Please always post all of the code, don't leave out the include s... (by TheIdeasMan)
How do you convert c++ to c# the old fashioned way
I have a assignment, (well tones really) but the problem is, I don't understand C# no really, I have...
[5 replies] Last: string buffer = Console.ReadLine(); input1 = Convert.ToDouble(bu... (by Shibitto)
Error checking issues
Hi Folks, I am learning C++ and I was doing fairly well until I ran into functions and arrays. I ...
[5 replies] Last: for( const auto& ticket : lotto_tickets ) // for each lottery ticket ... (by JLBorges)
Trying to make a database
I am writing and reading from a text file, I'm just messing around trying to get a little bit of the...
[3 replies] Last: Hello Nichismoke, I refer you to the code in your first post. Line 33... (by Handy Andy)
Knight's Tour Using Warnsdorff's
I'm trying to solve the Knight's Tour problem using Warnsdorff's Heuristics, following the example h...
[no replies]
Fun with Functions
My solution to 3rd problem in Fun with Functions, any critic welcome Task Description: ★★★ M...
[5 replies] Last: We will never get zero as this is clearly division so any number bein... (by elohssa)
getting errors golfer1 must have class type
#include <iostream> #include <string> class FrisbeeGolfer { private: string name; double ...
[2 replies] Last: ok, thank you for the help. (by mjones382)
cin fail
so when i try to put a letter for number of children for the cin to fail and inform that " number of...
[3 replies] Last: Hello poonamp6792, Give this a try: std::cout << "adult tickets s... (by Handy Andy)
ambiguous reference
So, I'm making a Hash Table dividing the classes between different archives. Than, the problem is, e...
[1 reply] : On line 8 the compiler doesn't know if you want your hash class or std... (by Peter87)
Issue when dividing/modulus?
The task is simple, ask the user for two integers, then display the sum, difference, product, quotie...
[4 replies] Last: #include <iostream> #include <cstdlib> // for std::abs(int) using nam... (by JLBorges)
Find specific string and return that string
1234567890123 1234567890123 sam WELCOME chris 1234567890123 1234567890123 chris WELCOME sam 123456...
[2 replies] Last: Double post: (by Thomas1965)
Pages: 1... 3435363738... 46
  Archived months: [jan2018]

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