
please wait
by Brix
How to convert a char array to float?
|
Hi, I have a problem I struggle with since hours. Maybe you could help me with that. I have a char array with 4 bytes filled by another function. All fo... |
Mar 19, 2019 at 9:58am
[11 replies] Last: Thank you very much!!! This works really nice :-) (by Brix)
|
by grazoth
Roman numerals to integer using string (menuoptions)
|
Hello, im trying to create a menu where there should be different options, for example converting roman to normal numbers. Im not very good at programming so I ... |
Mar 19, 2019 at 2:12am
[8 replies] Last: cpp.sh has sandbox issues. It is not reliable. In your code, choose e... (by Duthomhas)
|
by MikeStgt
cpp.sh jeopardized by cin?
|
Something for the experts: the program http://www.cplusplus.com/forum/beginner/251201/#msg1106246 running under http://www.cpp.sh/ never ends line 68 cin >> s;... |
Mar 19, 2019 at 1:36am
[no replies]
|
by ZirJohn
struct with an object that doesn't have default constructor
|
So I have a struct and inside the struct, I create an object of a class that doesn't have a default constructor. Part of the code I was given by my professor (... |
Mar 18, 2019 at 11:23pm
[1 reply] : The compiler will create constructors for you, unless you write on... (by Duthomhas)
|
by ZirJohn
warning LINK4217: locally defined symbol
|
I need this project to compile without warnings but I have no idea what this warning is: main-865b33.o : warning LNK4217: locally defined symbol __std_t... |
Mar 18, 2019 at 11:09pm
[4 replies] Last: Clang can be used with Visual Studio. https://devblogs.microsoft.com/... (by closed account E0p9LyTq)
|
anyone can help me with this? |
here is the problem. (im sorry guys i don't know anything about programming lol) Objectives to compile and run a program contating repetition structures. ... |
Mar 18, 2019 at 9:30pm
[6 replies] Last: i think you're from Manila right? I just saw your nickname on facebook... (by MikeMike)
|
by BudSkigee
Adjust an objects value within a class?
|
Bear with me here, i have been struggling to grasp the concept of classes and pointers, I understand what they do but writing it out has been tough for me... (I... |
Mar 18, 2019 at 8:43pm
[5 replies] Last: JLBorges is one of the real experts here for writing good code. My kn... (by closed account E0p9LyTq)
|
by rhamm5798
Abstract Class
|
This is probably a Quick Question I am working on a Tic-Tac-Toe Game, for my players I want to assign certain values; such as, the Symbol. I am using an Ab... |
Mar 18, 2019 at 4:32pm
[8 replies] Last: This is probably a Quick Question Quick question, with lots and lots... (by closed account E0p9LyTq)
|
by tyronejs
Determining number of evens, odds, and zeros in file
|
I've been working on this for so long now and this is where I'm at. It is required to include void openFile() void closeFile() int readFile() void dete... |
Mar 18, 2019 at 3:40pm
[2 replies] Last: Hello tyronejs, Being a duplicate thread I would think that you would... (by Handy Andy)
|
by DdavidDLT
Making computer smarter
|
I was doing pretty fun exercise but I came across a problem when a task asked me to make computer guess in 7 or fewer times my number. I believe I need to add s... |
Mar 18, 2019 at 3:14pm
[4 replies] Last: If you are going to use the C library for random numbers as the comput... (by closed account E0p9LyTq)
|
by mercedx
losing my mind with switch statements
|
I'm writing a program in class. You're supposed to write a program that prints out pet insurance fee Write a program that prints the insurance fee to pay for... |
Mar 18, 2019 at 2:21pm
[10 replies] Last: ok, you have put in a solid try and this is subtle... until you have s... (by jonnin)
|
by jackson26
plz help me in this assignment
|
Math Problem Generator Your job will be to write a program to teach math to school children. Your program will accomplish this by showing sets of math problems... |
Mar 18, 2019 at 1:00pm
[2 replies] Last: I believe threading would avoid needing an OS specific I/O toy for the... (by jonnin)
|
by Duthomhas
Help with my c++ assignment (1,2)
|
With introductory homeworks you will not likely have problems with plagarism. But I am glad to see you are interested in learning more than copying. Each of th... |
Mar 18, 2019 at 12:10pm
[28 replies] Last: #include <iostream> #include <cstdlib> #include <cctype> #include <ra... (by lastchance)
|
by shale
binary '=': no operator found which takes a right-hand operand of type 'Vector'
|
someone explain please what is the problem #include"pch.h" #include <iostream> #include <stdio.h> #include <stdlib.h> #include <string> using namesp... |
Mar 18, 2019 at 9:02am
[2 replies] Last: After that you should look at the rule of three/five/zero : https://e... (by keskiverto)
|
takes a string str as input and prints out the the lower-case letters in str in reversed order. |
Having difficulty with recursion. Reversing a string and only printing the lower case letters. Hi all, I'm really struggling with recursion and can't figure ou... |
Mar 18, 2019 at 8:30am
[2 replies] Last: #include <iostream> #include <cctype> using namespace std; void reve... (by lastchance)
|
by mxracer321
Help using parallel arrays
|
The code that i have so far was used for the first part of my assignment. Now for the second part I have to not only prompt the user for one question from a .tx... |
Mar 18, 2019 at 1:02am
[4 replies] Last: We have not learned about vectors yet at all so I am going to assume C... (by mxracer321)
|
by olefredrik
map
|
Write your question here. Cant solve this problem: string s: s=cellToSymbol[Cell::closed]; gives: error C2678: binary '[': no operator found whic... |
Mar 18, 2019 at 12:33am
[4 replies] Last: The first documented computer bug was a real bug. A moth. Found by G... (by closed account E0p9LyTq)
|
by styxx
C++ assignment for string comparison
|
Hello, I am brand new to programing and I been having a hard time with c++, so i would love some help, since I really want to learn how to program in this langu... |
Mar 17, 2019 at 9:34pm
[1 reply] : I’m afraid this post is closed: http://www.cplusplus.com/forum/gener... (by Enoizat)
|
by bteddy
Lots of errors and warnings but no output file to debug
|
Hello, I am trying to compile source: [C:\MinGW\bin\c++.exe -g C:\Users\Fadiya\Desktop\G++\cc-rnn.cpp] and [C:\MinGW\bin\g++.exe -g C:\Users\Fadiya\Desktop... |
Mar 17, 2019 at 8:46pm
[1 reply] : const char* file defines an array of 15 pointers to const char. Yo... (by Peter87)
|
by HeavyDrugs
Doubly linked list crashing after trying to print from end
|
It crashes after choosing option 3. #include <iostream> using namespace std; struct node{ int data; struct node *next; struct node... |
Mar 17, 2019 at 8:13pm
[4 replies] Last: Okay, I will try. Would it be hard to remove global variables later? I... (by HeavyDrugs)
|