Beginners - August 2014 (Page 18)

by yj1214
python versions does not effect libraries, right?
 
Right now, i'm in frustration world because i'm wondering which python version to start learning. ...
[1 reply] : The version of Python effects the availability of libraries. Go for P... (by Atyab)
by Gansea
help with multiple strings
 
Gansea [#include <iostream> #include <string> using namespace std; int main() { string str1("Name...
[2 replies] Last: sorry I got excited because I fixed it myself without any help (by Gansea)
RPG game (Arrays, Structs Message boxes) (Allegro 5)
 
To start with, I am making an RPG (rogue like more or less) and it is all made using the the console...
[no replies]
Passing multiple arguments to function
 
I am working on a program that uses several 2d arrays and several functions to modify this data. It ...
[2 replies] Last: Okay I feel its a little over my head at this point, but I will work w... (by JimmySiegel)
by Nison
Deleting characters from a string.
 
I want to remove '0' from a string but i don't know how to so. For example i have a string that says...
[5 replies] Last: Your function now removes '0' characters at the beginning of the strin... (by dhayden)
by Nison
Use String in Switch
 
How does this work? I want to make a case in which the character A is given. #include <iostream>...
[5 replies] Last: And you may need to put each case block in the switch within { } so t... (by dhayden)
Sorting a vector problem
 
Can´t sort array in ascending order of age in vector // Bubblesort.cpp : Defines the entry po...
[3 replies] Last: The name and age are public, so you wouldn't really need to send them ... (by wildblue)
std::vector operator[] problem
 
Hi! I'm getting this error and I don't understand why. I hope you can help me. Matrix3f.h #ifn...
[6 replies] Last: The vector is already defined. You would have to use the resize method... (by Cody0023)
Currency For A Game
 
Hey guys, I am trying to learn C++, I am at the point where I think I could try to make an RPG . Th...
[9 replies] Last: Alright thanks, you have been very helpfull guys. Problem solved (by MasterGeek)
Trying to get back into c++, code is working right but math is wrong somewhere
 
So i'm trying to get back into programming by solving Project Euler problems. For problem 2 i'm gett...
[3 replies] Last: Did you mean to be accumulating a total into the sum variable here i... (by wildblue)
Help with debugging practice problem
 
So i just started learning c++ this week, and one of the practice problems, from jumping into c++, i...
[3 replies] Last: Thanks for the help and advice. I think I will take a break from probl... (by balec1026)
by yj1214
Questions about libraries.
 
I know that if I want to make games in c++ i have to use some libraries. so does libraries writte...
[1 reply] : There are two answers to your question. 1) If you're referring to ... (by AbstractionAnon)
by mehak
Bit fields
 
the following code compiles however the c version of it gives a compilation error C:\Users\Mehak\De...
[2 replies] Last: the following code compiles however the c version of it gives a compi... (by Cubbi)
constexpr
 
I've been learning about constants and I can't really get the key difference between const and const...
[1 reply] : const 's primary function is to express the idea that an object is... (by JLBorges)
Can´t print bubblesort values
 
It refuses to give an ouput, can anyone help? // Bubblesort.cpp : Defines the entry point for the...
[4 replies] Last: You have been asked to use code tags. PLEASE DO SO. http://www.cpl... (by AbstractionAnon)
by mehak
structure
 
the following code gives a compilation error #include<stdio.h> int main() { struct e...
[2 replies] Last: There is no question in your post. If your question is "why am I ... (by AbstractionAnon)
From void back to main (How)?
 
Hello I've got an a pretty annoying problem. I have one main function, and a lot of void functio...
[8 replies] Last: Indeed! While loops are the solution! :D This is what I did: bool ba... (by Nielyboyken)
by mehak
union
 
why does union a z2 = {0, 2}; give error ? #include<stdio.h> int main() { union a ...
[1 reply] : dot operator should be used to initialise z2,that is, a.ch =0 and a.ch... (by mehak)
Passing a string into a function as argument
 
Why can't I pass the string str to the function? What will be the correction? #include <ios...
[2 replies] Last: You're intermixing C-strings and C++ std::string. You've declared th... (by AbstractionAnon)
push_back on vector<class> ???
 
Is it possible to use push_back to create instances of a class in a vector, in the same way as you w...
[3 replies] Last: Thanks a lot guys. (by slouchcouchgamer)
August 2014 Pages: 1... 1617181920... 40
  Archived months: [jul2014] [sep2014]

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