
please wait
by jaden5165
extern "C" doubt
|
extern "C" { char *getwd(char *); }; May I know what does this code means? As I know when there is any C header then we should use extern "C" if... |
May 2, 2013 at 7:44am
[5 replies] Last: > Basically it tells: this function was compiled in C, not C++. It te... (by JLBorges)
|
DirectX |
I just recently installed directx june 2010 sdk and everything seems to be set up fine, my problem is that I have tried several example programs but on a lot of... |
May 2, 2013 at 7:36am
[3 replies] Last: Shouldn't this question be in the Windows Programming forum? (by MikeyBoy)
|
by Aceix
About IMPLEMENT_APP() macro
|
Hi all, Just want to know how the IMPLEMENT_APP() macro in wxWidgets work, how it replaces explicitly stating main();, how it initializes the whole app and the... |
May 2, 2013 at 7:35am
[2 replies] Last: Can't you see that for yourself by looking at the macro definition in ... (by MikeyBoy)
|
by jack123456
please help
|
You now have a good foundation of C++ programming skills that you can use to develop a larger project. You will implement a program that simulates ESP: Ext... |
May 2, 2013 at 7:27am
[7 replies] Last: You now have a good foundation of C++ programming skills that you can... (by MikeyBoy)
|
by Dave Jones
Please Help In Char Pointers
|
Well there is this code I recently found in a book and I need help from someone to help me understand why when you subtract pbuffer with buffer you get the numb... |
May 2, 2013 at 7:16am
[7 replies] Last: You're welciome :) (by MikeyBoy)
|
How does a compiler work? |
I'm interested in eventually building a compiler. As I understand it, these are the steps involved in compiling: Preprocessing (if relevant to the language) ... |
May 2, 2013 at 6:46am
[no replies]
|
by Progg3
A quick question around enumerations
|
Hi, Let's say I have a "Weapon" class, which stores the weapon "Type" as an enumeration. As I instantiate this class I wish to specify what type of weapon t... |
May 2, 2013 at 6:41am
[2 replies] Last: > As I instantiate this class I wish to specify what type of weapon th... (by JLBorges)
|
by crypto
Vector troubles?
|
So here's my code... #include <iostream> #include <vector> #include <fstream> #include <string> #include <stdio.h> #include <string.h> using namespace std; ... |
May 2, 2013 at 6:00am
[2 replies] Last: ifstream f ( "text.txt",std::ifstream::binary); int length = f.tell... (by cire)
|
by BluRezZz
Using time?
|
So I'm trying to learn how to use time for time based movement and what not. I did this only knowing the command time(&variable) time_t timer; int I, X; ... |
May 2, 2013 at 5:37am
[1 reply] : a) nobody said that time_t contains seconds. b) nobody said program wi... (by MiiNiPaa)
|
by Phiru
How to use namespace???
|
I have two header files, A, B. A.h namespace test { struct info { int a; } } B.h #include "A.h" int main { test::info.a =... |
May 2, 2013 at 2:37am
[2 replies] Last: I don't recommend asking for help with code and just saying that there... (by Austin J)
|
by Dozo23
Towers of Hanoi Using Iteration
|
I am trying to write a towers of hanoi c++ program using iteration. i have written the same program using recursion but i am having trouble using iteration. so ... |
May 2, 2013 at 2:06am
[no replies]
|
by Jgwman
Accessing pointed-to value in a struct vector of pointers
|
Hello, I have a somewhat complicated question. I have a vector (structures) in a struct (instances). I make a declaration of this struct called instance. The ve... |
May 2, 2013 at 1:22am
[4 replies] Last: What it is, or do you have a link to its documentation? I can't find i... (by Jgwman)
|
by him92
code that reads from a file and writes it, inverted into another file
|
the error message is this one, and this is my first c++ code so i really want to see it work. any piece of advice? 7::too few template-parameter-lists so this... |
May 2, 2013 at 1:00am
[8 replies] Last: its okay now, i have fixed it using the resources from this page and a... (by him92)
|
by JazzyJeff123
Inserting a row into a matrix?
|
I'm writing a function that inserts a row into a matrix and deletes the last row. But I'm having trouble. What do I need to add to this function: |
May 1, 2013 at 10:15pm
[1 reply] : So the first column has to look like 2 3 4 5 6 7 8 The Row with the 4,... (by JazzyJeff123)
|
by Festivefire
Random syntax errors?
|
so i am writing a program in c++ for a school project, but the code i am using for one of my functions is full of random syntax errors, and me and my group memb... |
May 1, 2013 at 10:09pm
[6 replies] Last: right i fixed inTPClone. as it turns out, you need to use for loops to... (by Festivefire)
|
by moza
help needed in c++ assignment
|
hello every one i need yr help to solve this c++ -Home Assignment .. Write a user-friendly C++ program that allows a user to select repeatedly an ... |
May 1, 2013 at 9:51pm
[1 reply] : Post what you've done and we can help out. (by kbw)
|
by LB
Virtual Templates
|
#include <iostream> struct Base { virtual ~Base(){} template<typename T> virtual bool f(T t){ return false; } }; struct Derived : B... |
May 1, 2013 at 9:46pm
[4 replies] Last: Wow, what did I do to trigger such a reaction? I wasn't trying to be r... (by LB)
|
by vacancy
.c ip spoofing (ip range generate)
|
Hello Writing an exploit our own system we've tested. However, this exploit is currently producing a random string. However, we would like to produce a sp... |
May 1, 2013 at 8:35pm
[2 replies] Last: Is there someone who can help? (by vacancy)
|
by lavekyl
String Troubles
|
We are posed with this problem. An office furniture company sells furniture in three colors: red, black and green. Every item in their inventory system has a... |
May 1, 2013 at 8:31pm
[2 replies] Last: On a string of length 5, substr(4,2) is only the last character. Inde... (by cire)
|
by maskthro09
Adding dynamic arrays
|
Hey guys, I'm writing a program with two classes, one that contains a card's rank and suit and the other contains pile of these cards. I'm having trouble when i... |
May 1, 2013 at 8:18pm
[1 reply] : count is an int. An int does not have a member called pile . Plea... (by cire)
|