Beginners - January 2017 (Page 6)

While Loop in Function Being Skipped
 
Hey guys! I'm creating a code with two overloaded functions for a project in my course. For some rea...
[1 reply] : Line 35: choice is uninitialized. Line 43: You're testing an unin... (by AbstractionAnon)
Run time failure 3??????
 
Why do i get a run time check failure 3 here? int* sum(int n ); int main() { int n = { 2,3,4...
[2 replies] Last: thx i just had to initialize ptr with n :D i didn't know about the fo... (by spax1111111)
Important in ASP.Net
 
hello there how can i make global Variables in asp.net i want the Variables as public for each pag...
[no replies]
by johnab
microsoft visual studio
 
I am writing code in a project and source cpp,, suddenly the changes I make in the code will not ap...
[1 reply] : Did you introduce a compile error which prevents a new executable from... (by AbstractionAnon)
Nested for sequence in plain C
 
Ok, first off I hope I am not totally off with the subject since this is written in C, because I wan...
[5 replies] Last: #include <stdio.h> void draw_box( int nrows, int ncols ) ; int main... (by JLBorges)
Remove Punctuation from user input Custom function
 
I have been looking for way to do this but I always end up with the library version to do or its onl...
[3 replies] Last: To make it generic: std::string remove_chars( const std::string& str,... (by JLBorges)
by johnab
print out only the last number in Fibonacci series
 
I want to print out only the last number in the list... for example,,, if cin =12 I want cout= 377....
[3 replies] Last: tnx coder777;) (by johnab)
Hailstone Sequence so far
 
Good afternoon everyone, I'm currently working towards to provide the following output for my co...
[4 replies] Last: Using vector of vectors: #include <iostream> #include <vector> type... (by closed account 48T7M4Gy)
What is my error?
 
Soooo I am using SFML and I am trying to load sprites. But, when I tried to run it, it crashed. I am...
[no replies]
Understanding operator<<
 
I've hit one of those walls, where I don't understand something. ostream& operator<< I don...
[1 reply] : Ostream is a class, cout is an object of ostream class. http://www.cpl... (by Golden Lizard)
by zakaa
Im confused with headers
 
I just can't figure this problem out. Maybe my code is badly designed or there is simple way to do i...
[2 replies] Last: Oh you are right, i just couldn't figure it out. Thanks :) (by zakaa)
if else function problems
 
I cant quite get this to work my output is always isnt beer the best void IfBeverage (){ ...
[3 replies] Last: Thanks all I need was #include<string> void IfBeverage (){ ... (by cabigler)
Final assignment
 
Okay so, I kinda need help with this assignment. I don't know if you guys understand just by looking...
[3 replies] Last: Hi! I made an updated version of the code which you can find here. htt... (by elliotawerstedt)
if-else expected a statement error
 
Hey I just started C++ a few days ago and could use a little help. As stated above my else code is g...
[3 replies] Last: Yep, it makes perfect as they say and you had most of the basics right... (by closed account 48T7M4Gy)
Problem with string pop_back() function
 
There is an error with the pop_back function in this case. In this code finalpuncuation(string) is ...
[2 replies] Last: Compilation issues aside, something along these lines may be more appr... (by cire)
What symbol "->" represents meaning here?
 
I would like to know on what symbol "->" represents meaning here. Does anyone have any suggestion...
[1 reply] : http://en.cppreference.com/w/cpp/language/operator_member_access (by TheIdeasMan)
Function not being Called
 
Hey guys! I'm working on an assignment for my Computer Science course in college. I've currently ran...
[2 replies] Last: void findHighest (double north_east, double south_east, double north... (by gunnerfunner)
"J is not declared"
 
when trying to loop through a vector, i come across an error. for (unsigned int i = 0; i != width...
[3 replies] Last: Oops sorry, I'm kind of an idiot for not seeing that, I was so used to... (by Optimistic Peach)
Another function question
 
I am doing a monthly budget project for my introductory C++ course. I am stuck on figuring out how t...
[2 replies] Last: Thank you so much! It didn't completely fix it, but it was an error th... (by ripken2)
Not able to include a file that includes the other
 
So currently i am trying to #include "MyForm.h" in "MyForm1.h" but "MyForm.h" already has #include"M...
[2 replies] Last: Looks like some microsoft visual studio stuff. It's not standard C++ ... (by kevinkjt2000)
January 2017 Pages: 1... 45678... 24
  Archived months: [dec2016] [feb2017]

This is an archived page. To post a new message, go to the current page.