
please wait
Need help with fixing a few of these errors |
My first two cases in the switch statement work smoothly, but the next two have a couple of errors. Can someone tell me how to fix them? #include<iostream> #i... |
May 8, 2017 at 9:39pm
[6 replies] Last: Hello frustratedSEstudent, As I started working on case 1 and started... (by Handy Andy)
|
by xxvms
small detail
|
Hi there I have question about small detail, is assigning value same as or part of initialization? if we have following code: string s1("Man"); // t... |
May 8, 2017 at 9:29pm
[3 replies] Last: Hi both thank you :) @TheIdeasMan - I am going trough book and this... (by xxvms)
|
by NelecSolo
What books should i read after this one.
|
Hi there, my question is a very broad one I know. but I would appreciate all the help I can get on the subject. My question is: What books should I read after I... |
May 8, 2017 at 7:53pm
[3 replies] Last: Most of the books I read were in German so that probably wouldn't be h... (by Thomas1965)
|
by SupaBeast
C++ Encryption Project
|
This is my final project for my Intro C++ course. I am having issues with both ciphers. Just looking for a bit of guidance or some changes I need to make in ... |
May 8, 2017 at 6:49pm
[1 reply] : For clarity I am using Visual Studio Community. (by SupaBeast)
|
by arbwok
Vectors of vectors question
|
Is there a way to jump to from one index to another Example vector< vector <int> >v: 1 2 4 2 5 3 1 6 4 5 2 1 6 4 I iterate through the first... |
May 8, 2017 at 6:25pm
[2 replies] Last: My algorithm is pretty much dijkstra's algorithm. Next to each column ... (by arbwok)
|
by nicoleb
Lottery Ticket Help? (functions & arrays)
|
Can someone help me with this? I think I'm having issues with the bias number generator and rand().. I need 6 lottery numbers from 0 to 9... Any tips will be gr... |
May 8, 2017 at 5:54pm
[1 reply] : Line 11,21: Do not call srand() multiple times. srand() sets the RNG... (by AbstractionAnon)
|
Dropping lowest score and finding average |
So I'm supposed to collect five test scores, drop the lowest one, and find the average of the remaining four. It's required that we call getScores five times to... |
May 8, 2017 at 4:43pm
[5 replies] Last: Let's look at this: return average = ((test1 + test2 + test2 + test4 ... (by chicofeo)
|
cannot return 'float (*) float' |
I have the following error when I try to run my budget code in reference to this function. It says cannot convert 'float (*) (float)' to 'float' for argument '2... |
May 8, 2017 at 4:29pm
[3 replies] Last: I figured it out, I was calling functions in that code, but forgot to ... (by alextexasfan12)
|
by Flaze07
vector
|
hey guys..so everytime my vector has a size of 1 and I erase that...there's problem... btw here's my code #include <SFML/Graphics.hpp> #include <SFML/Audio.h... |
May 8, 2017 at 4:25pm
[17 replies] Last: thank you for your guidance (by Flaze07)
|
storing and displaying char in vectors |
As part of learning c++, rather than using std::string, i want to use char to store and display words. so I wrote a simple program. int max = 10; ... |
May 8, 2017 at 4:05pm
[9 replies] Last: @JLBorges This sure is a lot to process. But this is wanted. To study ... (by avillageofbigheads)
|
BMI Calculator with functions |
So the program runs, but it always spits out 0 for the bmi and I can't figure out why. Help is greatly appreciated! #include <iostream> #include<iomanip> #... |
May 8, 2017 at 3:59pm
[3 replies] Last: Thanks guys! Everything works perfectly now (by alwaystiredman)
|
by zablas
Need guidance for starting game development
|
Summer is coming. Which means summer holidays (at least in my country). Which means lots of free time! (Yay!) So I want to sink my teeth into game programming. ... |
May 8, 2017 at 3:11pm
[2 replies] Last: Thank You! Will check it out! (by zablas)
|
by bhawnablogs
Urgent - Simple Programme To Connect Application Via LAN
|
Hi, I have a application running on one PC. I want to connect to that application via C++(Preferably Modern C++). I want to connect it via IP Address. Pl... |
May 8, 2017 at 3:08pm
[2 replies] Last: See boost asio examples: http://www.boost.org/doc/libs/1_64_0/doc/htm... (by coder777)
|
by Fojaxx
Char or String array?
|
so, im new here to the forums, but not new to c++. i took visual studio in highschool and c++ in college, but now i've forgoten alot of it. what im trying to d... |
May 8, 2017 at 3:05pm
[1 reply] : Currently A is an array of char, but you need an array of strings: ... (by coder777)
|
by gatinha123
Problem making board (conected pointers for board spots)
|
Sooooo i've been trying to make myself a minesweeper in c for school and need to use pointers and connected lists for my project... but not working ;-; On "myn... |
May 8, 2017 at 2:34pm
[4 replies] Last: why shouldn't typedef be used anymore? What should i use instead? w... (by gunnerfunner)
|
budget |
I'm trying to create a monthly budget and inside I have a function that completes what tax bracket they are in. For some reason .10 is being multiplied by their... |
May 8, 2017 at 2:16pm
[3 replies] Last: Thank you so much! Still kinda a noob at this (by alextexasfan12)
|
by FreshDave
Convert this Code into a single function
|
I got this Code from github How do i Turn this Info a function like Main(){"the Code in here"} #include <Windows.h> int ScreenWidth, ScreenHeight; i... |
May 8, 2017 at 2:14pm
[2 replies] Last: thanks (by FreshDave)
|
by glungie
making sleep randomised?
|
so I'm wanting to make an autoclicker, how would I make it so the sleep function is randomised from any number, to another from example, every click it will sl... |
May 8, 2017 at 12:10pm
[3 replies] Last: You may use from the standard library sleep_for: http://www.cplusplus... (by coder777)
|
by AlexCantor
C++ 17 Filesystem
|
I have typed g++ --version on may computer got following message: g++ (GCC) 8.0.0 20170430 (experimental) Copyright (C) 2017 Free Software Foundation, Inc. ... |
May 8, 2017 at 10:35am
[11 replies] Last: Boost Filesystem tutorial has a number of examples. Though these examp... (by JLBorges)
|
by JulianV304
file reading issues
|
Am trying to make a function that displays the last 10 lines of a file and I thought the way to do this is to read the file backwards using seekg and ios::beg b... |
May 8, 2017 at 10:26am
[8 replies] Last: #include <iostream> #include <string> #include <deque> #include <fstr... (by JLBorges)
|