General C++ Programming - October 2013 (Page 23)

Windows 8.1
 
Anyone else now running 8.1? What do you think of it. I had an issue that after installing it and setting up, it would boot to a black screen with flickering ...
[1 reply] : I think it would be better for this to be in the lounge.... I haven't... (by closed account jwkNwA7f)
NEED HELP WITH BASIC ROULETTE
 
I need help writing a basic roulette program! I'm super lost and confused on where to go from here Input VariablesSTARTING_MONEY (100) BET_AMOUNT (5)ZE...
[no replies]
Unresolved Externals in PLplot
 
Hi! I'm new with PLplot and Cmake. I've spent hours looking over tutorials, instructions, and posts, but still can't figure this out. I keep getting these thre...
[8 replies] Last: I got it. Apparently some of my earlier CMake builds didn't make the p... (by ajlampman)
Join together menu with gameplay
 
Hello at all. I'm triying to make the game go to the simulation by pressing 'g'. I know the menu has so many options, but before I make them useful I want...
[no replies]
programming
 
yok
[2 replies] Last: For starters, pow() takes two doubles. edit: and can you give me an e... (by mutexe)
Help with errors
 
#include <cstdlib> // For exit() // What header file must be included to access the abs(), pow(), sqrt() functions? #include <cmath> // What header fil...
[4 replies] Last: @keskiverto has hit the nail on the head. You generally ignore return ... (by tipaye)
SQL Server Database from C++
 
Hello, How do you connect/manipulate/get results from C++ program to/of/from SQL Server Database? Do you know any good tutorials to do this? (by good = fo...
[3 replies] Last: Sqlapi is not for free. This https://code.google.com/p/tiodbc/ librar... (by andreicpp)
by wawawa
conversion from void to * to int*
 
#include <malloc.h> #include <conio.h> #include <stdio.h> #include <stdlib.h> #define K 3 /* constraint length */ #define TWOTOTHEM 4 ...
[4 replies] Last: instead of: unencoded_data = malloc( (input_len + m) * sizeof(int) );... (by tipaye)
help on time.h
 
i want to get the date,month,year of 5days from now(eg:if today is 29 october 2013 i want 3 november 2013) .how to do it
[3 replies] Last: could you plz explain the code and how it works. Thanks in advance (by codder101)
Exercise - pointer
 
Q1: Trace the partial of program below: 1. int v = 8, *r, *s; 2. int *p; 3. int q = 100; 4. p = &q; 5. r = p; 6. *p = 20; 7. p = new int; 8. *r = 30; 9. q = v;...
[4 replies] Last: Q3: #include <iostream> struct Node { int value; Node* next;... (by Stewbond)
by dilver
for loop multiplication
 
int main() { int x; int y=1; for(x=1 ; x<=12 ; x++ , y=y*x ) { cout<<y<<'\n'; } } this code give x! ( x factorial) . whene...
[1 reply] : The reason is that you are using type int. Ints are represented by 32... (by Stewbond)
Need help with file handeling
 
HI, I tried to make a program with some c style syntax in c++ but i am getting a problem. When I make a new file it dose not let me enter text.Thanks in advanc...
[5 replies] Last: The issue you're seeing is explained here: http://www.cplusplus.com/fo... (by cire)
by pedret
Any suite of programs written in C++ ???
 
Hello, I have been searching for a set of programs written in C++ (using object-oriented features), but I have not been able to find what I was looking for...
[8 replies] Last: Hi, It's me again. I've been analyzing the Boost libraries and some o... (by pedret)
Variable Component Names
 
Hello Could you please help me, I'm trying to find a way to call a variable checkbox. i.e. for (i = 10; i < 20; i++) { Checkbox ->Caption = Some Da...
[3 replies] Last: Well the other (and more standard) option is to maintain a std::vector... (by abhishekm71)
How to make software as trial period ?
 
I have an application this is already license but in this application use my functionality put custom .afl file this file make in c++ make this .afl file as tri...
[2 replies] Last: But give me some code for this i am new in this so plz help..thnk u so... (by yatinmistry28)
C++ RPN calculator problem
 
ooo
[2 replies] Last: Wow cannot believe I missed that. Thank you very much it complies fin... (by karrius30)
Working out vector heading based on angle, giving an undesirable result
 
I've been gathering how to do this, and from what I see, it's exactly how people explained it to do. But when I try this, it's gives me horrific results. Cod...
[2 replies] Last: I see, some of the precision when converting degrees to radians must b... (by Turbine)
Class functions and pointers
 
Hi, I need help in understanding about passing pointer values to a class function... int Hex(char *Str); // function .... ... ... char* hexaD; cout...
[4 replies] Last: I wasn't sure about this topic, before I posted here. Thanks for the ... (by marshmallow9)
C++ Portability?How compiler makes it portable, though its finally converted into machine code?
 
Hello guys. I am pretty much a beginner in C++ programmer. Somewhere, I heard that C++ compiler do the job of converting the the code into assembly language to ...
[6 replies] Last: While it is rare (if a case exists at all), it's good to keep in mind.... (by closed account S6k9GNh0)
by deleyd
C++ syntax, calling a class member
 
In the following code example of the State Design Pattern, in the main code at the bottom it defines an instance of class Machine , and then calls Machine::of...
[3 replies] Last: void DoStuff(State *s) here you say that you are going to pass a par... (by ne555)
October 2013 Pages: 1... 2122232425... 46
  Archived months: [sep2013] [nov2013]

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