General C++ Programming - September 2013 (Page 35)

string to int
 
Hi everyone, i am C++ newbie. I want to ask how can i convert string to int and split it? Like...
[3 replies] Last: char s = "012345"; int a[sizeof( s ) -1]; std::transform( std::begi... (by vlad from moscow)
DOS
 
Is DOS an operating system if Yes then why ? if no then why not give me the region ? as per as...
[16 replies] Last: DOS is still an OS for special uses. For example, a HDD/SDD vendor ca... (by keskiverto)
How to write program in C++
 
Write your question here. I want to write the code which ask for five numbers to enter, and show th...
[18 replies] Last: Dear All, Thank you very much for this exelent work you did,I told yo... (by zeosmani)
txt data into array
 
Hi, I need to read a text file, put its data into an array, process that data in the array, th...
[no replies]
Changes in union typedef aren't mirrored?
 
I have made VGA emulation with registers and memory in my emulator. But for some reason the writes t...
[4 replies] Last: Many compilers (gcc for example), extend the language by defining the... (by Cubbi)
Overloaded constructor of String
 
Hi guys, I have to implement the following class: class MyString { private: char *str; // ...
[1 reply] : You can define it as you want. And nobody knows what you want.:) It is... (by vlad from moscow)
std::optional
 
hi, I have been reading, and, hearing, a fair amount of stuff, on, std::optional /boost::optional. ...
[2 replies] Last: Ah, Thanks! I guess, C++14 was the reason, why I hadn't found it, yet.... (by hansaaa)
How to insert strings into an array
 
does anybody knows how to insert strings into an array of type char and also delete strings from tha...
[4 replies] Last: As I have understood correctly your question then to delete a string f... (by vlad from moscow)
Help with binary search
 
Solved ty!
[3 replies] Last: No... swap lines 56 and 60. (by abhishekm71)
Properly Exiting a Program
 
I've never really given this much thought... but here we go: If I were to exit a program, is it oka...
[2 replies] Last: Yeah, I normally just let those die in a fire. Bad? I find the code re... (by closed account S6k9GNh0)
Password System Error
 
I am trying to write a program which includes a three stage password. The user is prompted wi...
[9 replies] Last: Don't forget to click 'solved' (by ciphermagi)
C++03 to C++11
 
Ok then, is there any good new guides explaining ALL the new things in C++11? I'm about to get C++1...
[4 replies] Last: I know what Docs are, Mats, but I really can't stand using non-friendl... (by EssGeEich)
by Ceset
funny errors
 
hi guys i m having a weird problem here is the code Uint32 rmask, gmask, bmask, amask; #...
[4 replies] Last: wow, i will try to remember that. thx (by Ceset)
by HarryK
Rotating a circular disk
 
Does anyone have an algorithm or function to rotate a displayed circle. To turn it 360 degrees like ...
[14 replies] Last: Helio's post reminds me of Quaternions which is a great concept in mat... (by Stewbond)
No Output?
 
I seem to be having trouble getting output from my weekAvg function which is just the inverse of my ...
[2 replies] Last: Thank you for your swift response i changed the size from 7 to 24 to h... (by dmkavanaugh1s)
can't update file records with this function
 
Ok so i got this function that suppose to update record in this file below 2 (foo) (bar) (...
[no replies]
accident
 
Wrong forum
[4 replies] Last: The logic of moving through the game board is correct in your displayG... (by ciphermagi)
Help for void Triangle::print() class function
 
//Point.cpp #include "Point.h" #include <iostream> #include <cmath> using namespace std; Point::Poi...
[4 replies] Last: Much thanks to both. (by helpstudent)
Tree Painitng
 
Hello, please help me. Below is the task description, and below that is my thoughts on the problem. ...
[11 replies] Last: You seem to have a memory leak in your main function. Problem should... (by Script Coder)
Pointer to char Array
 
I like to use a Pointer to char array. And then I would like to do a Pointer Arithmetic by increm...
[3 replies] Last: THank YOu ...Mucho Gracias....Merci....Danke SHoen,,,Arigatoo...Priv... (by rosarion)
September 2013 Pages: 1... 33343536
  Archived months: [aug2013] [oct2013]

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