General C++ Programming - May 2010 (Page 20)

Pointers
 
Respected Fellow members, I am not that much expert in C++, however when practicing pointers I encountered following problem. I am trying to implement the fo...
[4 replies] Last: This is what your compiler complains about: http://msdn.microsoft.com... (by m4ster r0shi)
by imi
CLI/C++ book recommendation?
 
Hi, I think I'll look into CLI/C++. Any recommendation for resources for intermediate C++ programmer? Ciao, Imi.
[no replies]
reading a string from file and comparing it with another file
 
suppose a file is containing 10 lines of some names, passwords and permissions initialy it should search the name in the file given from outside the file and i...
[8 replies] Last: please suggest me with the reply as early as possible. (by soujanya)
by fafner
File directories
 
How can I make my c++ app to look for resources, files etc. in it's own directory? Whenever I run apps that I've made, I have to specify exactly where the files...
[3 replies] Last: GetModuleFilename () http://www.google.com/search?btnI=1&q=msdn+GetM... (by Duthomhas)
Is it possible (if yes, how to) execute a string as code?
 
Is it possible to execute a string as code? Like for example, if the program asks the user to enter c++ code. The program can get the input as string, but is it...
[3 replies] Last: You probably don't want them entering in C++ code, but you can embed a... (by PanGalactic)
Is it possible (if yes, how to) execute a string as code?
 
Is it possible to execute a string as code? Like for example, if the program asks the user to enter c++ code. The program can get the input as string, but is it...
[1 reply] : Double post: http://www.cplusplus.com/forum/general/23326/ (by Bazzy)
Some OpenGL Stuff
 
I am working with some code that is supposed to help learn openGL stuff. I get some of it, but I am having trouble with one big thing. I am not sure how to get ...
[1 reply] : Anyone? (by cbouwkamp)
by yasy
random numbers
 
Write a function called nRandomNumbers( ) to performing the following: • Generates N random integers between -250 and 250 (inclusive) and save them in a fi...
[18 replies] Last: Use code tags. (by closed account S6k9GNh0)
File time
 
Hello, I'm having a small prob w/ the following code. Could anyone plz take a look at it and tell me what may cause the problem? Basically, I'm trying to...
[4 replies] Last: So by the way, is there any simple way to get writing time of an ifst... (by helios)
problem with maps and pointer class
 
I'm making a pointer class. I'm aware there are existing ones, I have tried auto_ptr but really want to make my own that will work just how I want. I am having ...
[10 replies] Last: The code already checked that I wasn't removing the same thing twice, ... (by alan2here)
Eventual Heap Corruption
 
I really don't know how to go on... Sorry to bother again with a problem. I'm trying to write an XML-Reader. It's supposed to read in the complete document and ...
[2 replies] Last: Okay, I will do so. Thank you for your answer, I was more than clueles... (by DarkDragon1993)
Errors from standard include files
 
I am working on a project that connects to the COM port, When i include files and build in VC 2010, i get no errors from my file projects but from the standard...
[2 replies] Last: i simply made this declaration in the header file #ifndef _WINDOWS... (by marembo)
Endianness
 
I'm currently working on a project that uses a pointer to capture and then display and long int value entered by the user. When entering the value 2140118959 I...
[2 replies] Last: You can use the (non-standard-c, but widely available) function "htonl... (by imi)
Need excessive input please.
 
I'm writing a program that will simulate simplified rovers that can move in one direction (north, east, west, or south) at constant speeds. I'm supposed to writ...
[1 reply] : "if(d='n' || d='N')" --> "if(d=='n' || d=='N')" = assigns a value.... (by imi)
Conversion error message
 
When I compile my program I am getting this error message: error: conversion from gnu_cxx::_normal_iterator<char*, std::basic_string<char, std:: char_traits<c...
[1 reply] : You probably want to use indices directly: for (size_t i = 0; i != s... (by kbw)
How to get handle of buttons on web page
 
Hi Experts i'm new in c++ I want to know to get handles of the buttons present on the web page I already done in windows but not got success in the w...
[3 replies] Last: yes i want the hadle of each button on the web page.... (by ramKrushna)
function issue --xcode
 
well this may be a simple problem for most to solve i can't seem to solve it. int damagee(int dragon, int swordattack) --> The function { int s; s = dr...
[3 replies] Last: Several things: I have XCode as well. 3.2.2. I plug this code in, a... (by Albatross)
Vector iterators and classes
 
I am wanting to create a data base of Egyptian gods that allows you to write a paragraph then store it to a txt or data file then be able to search for and edi...
[no replies]
by Qbaza
Pointer to friend function.
 
Hello I wonder if it is possible to use pointers to friend functions. I wrote a code that tried to do it, but I wasn't able to compile it until I changed tha...
[12 replies] Last: FWIW, a friend declaration is not a prototype. Technically speaking... (by jsmith)
what is the matter with this static variable?
 
Hi,everybody watching my topic here. My question might be quite simple,here it comes. I have two files ,one is named 'a.h',and the other 'a.c' and below is th...
[2 replies] Last: Get it .thanks a lot ,what an amazing place! (by sysabod)
May 2010 Pages: 1... 1819202122
  Archived months: [apr2010] [jun2010]

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