General C++ Programming - December 2013 (Page 9)

[WinSock] Can connect to localhost, can't connect to my IP
 
I'm getting error ID 10061 - WSAECONNREFUSED - No connection could be made because the target computer actively refused it. This usually results from trying to ...
[4 replies] Last: well, here you go, but u're gonna have a hard time I guess lib source... (by mekkatorqu)
C++11 - enum class
 
Trying to get this enum class working, but keep getting 'does not name a type' error. class A { public: enum class States {current, tac...
[9 replies] Last: I usually have both #define/#ifndef and #pragma once, simply because v... (by pivottt)
i need some help in my calculator again
 
finally i can solve how to change infix to postfix ......... but one more problem is i ,my cal can run but cant give me right result :( ....... i need some help...
[2 replies] Last: thanks u to mention to my post but right now i dont need to make it wo... (by Shady Attack)
what is the difference between these 2declarations
 
Hi, I am allocating memory as follows in C what are the differences between these 2 declaration int a =malloc(100*sizeof(int)); int *a=malloc(100*size...
[8 replies] Last: Thanks...Duoas.... (by Ajaycpp)
Function to return buffer?
 
nvm, there was mistake in another function
[no replies]
by samo
2d array conversion ..help
 
how to convert an element of int type of an array to char type???please help
[2 replies] Last: thank you very very much :)...but i want to know if i can change only ... (by samo)
constructors in c++
 
Sorting refers to ordering data in an increasing or decreasing fashion according to some linear relationship among the data items. Write a class Sorting() that...
[2 replies] Last: @sammiaabid1239 If you are or not here for the first time please ... (by condor)
Reading the running process from OS and displaying it through C++!
 
This code will read the running process from OS and display it (C++). Specifically, the OS here is Windows XP. The Problem(error) is in (i think) prototype. By ...
[2 replies] Last: Oh ok thhank you. It solved the problem :) (by jamilkhan7272)
Copying data allocated by new
 
I have an abstract class Base, with derived classes Derived1, Derived2, etc. I don't know how many there are. So, I have declared an object of Derived like so: ...
[4 replies] Last: That is exactly what I was looking for! Thankyou! (by TwilightSpectre)
Error LNK2019 (Help?)
 
Hey! So I'm writing a Go Fish program, and i'm getting this really funky error: error LNK2019: unresolved external symbol "bool __cdecl VldCard(char,int * cons...
[4 replies] Last: Ahh, thanks so much. (by Pacopenguin)
by parva
thread
 
hi i want to write a program,i have : class with two function in that i want these two function work concurrency, any body can help me? i need one simple ex...
[3 replies] Last: thanks booradley in this program ,there isn't class.As i said before i... (by parva)
How to use an object from another class
 
I have two classes one called Date and the other is University , Date class has two overloaded operators , ostream and istream to take in the data and print the...
[2 replies] Last: Hi, Please follow below link for C language tutorial and interview qu... (by mlkrqtp)
Virtual inheritance mess
 
Hi, I've been a lurker here for the last year but today I have a question. I'm creating a manic shooter engine for my game, and I'm using SFML for the graphics...
[2 replies] Last: Wow, thanks. Exactly the kind of answer I was looking for. (by pivottt)
WSAAsyncGetHostByName Question
 
what if the hostname wont be a hostname, but a IP, e.g. 127.0.0.1, will it work anyway, so the buffer will be set to 127.0.0.1, or do I HAVE to use hostname, an...
[no replies]
const int *const p can be writted as int const *const p?
 
Yes or no? Thanks.
[5 replies] Last: Thanks! (by northfly)
by Ceset
outputting to a file
 
hi guys mLog.open(errFile.c_str(), std::fstream::out|std::fstream::trunc); as you see i create a file and open it like that. but what i dont like is the out...
[no replies]
How do you link the Shell32.lib?
 
I have a code that requires a link to s Shell32.lib, how do you do it? #include <windows.h> #include <Shellapi.h> // requires linking towards Shell3...
[1 reply] : Why start a new thread on the same subject? See my answer there. http... (by Duthomhas)
Creating a Program to Open Google Chrome
 
I've been searching for a long time to find a way to make a cpp program that opens google chrome and goes to a specified url and nothing is working. This is the...
[2 replies] Last: You don't need to use winmain. #include <windows.h> #include <shell... (by Duthomhas)
Solved
 
Solved
[2 replies] Last: Haha, thank you. (by roger911)
FPS Camera w Modern OpenGL
 
Hi, I'm still new to shaders... how can I make an FPS camera with them? In the FF-Pipeline it was easy enough, but shaders are entirely different...
[6 replies] Last: Sorry, newb question here. If I call this Shader program will it effec... (by closed account N36fSL3A)
December 2013 Pages: 1... 7891011... 37
  Archived months: [nov2013] [jan2014]

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