General C++ Programming - November 2011 (Page 38)

MFC filing
 
Guyz m working on my project to make a student management software in MFC and i need to do filing in it such as for login purposes and others. i used the m...
[1 reply] : I heard MFC is full of bugs and litle documenation aoublt MFC problems... (by codekiddy)
recursion help please!
 
hi guys, so im working on a program that recursively draws trees, and im kinda stuck on my algorithm basically my main draws the tree trunk then i have...
[2 replies] Last: its a stylized line tree so it would look similar to this: http://www... (by wtfshawn)
Open RAW images in C++, Linux
 
Hi there, I'm a C++ beginner and I need to write a program in C++ which opens and displays an image; for example RAW, BMP, JPG, and TIF images. I use g++ ...
[1 reply] : There exist libraries to do these kinds of things. They are all C-link... (by Duthomhas)
hey guys i need help with this example for some reason its not clicking for me.
 
Write a program that keeps generating two random numbers between 2 and 9 and asks the user for the product of the two numbers, e.g.: "What is 4 x 6?". If the u...
[16 replies] Last: i neeed help with the inner loop.. and the a config to filter out the ... (by heymrjack10)
by ravar
help reading from a string
 
i have a function that is getting passed a string that will have an integer followed by a plus sign followed by an integer, how do i get the program to read wha...
[7 replies] Last: string str = "123+456 "; string str1 , str2 ; int position = str.f... (by bluecoder)
by rej3kt
Having serious problems with looping my program
 
deleted
[5 replies] Last: Thanks, you've helped a ridiculous amount, I really appreciate it. The... (by rej3kt)
by ivansl
file operation
 
1.txt contains One two three Can I replace "one" in 1.txt with "ten" using array? so the result is: 1.txt ten two three
[1 reply] : Yes, you can. But I bet that really wasn't your question, was it? So... (by webJose)
using namespace std::cout?
 
hi I'm having dificulties with this command: #include <iostream> using namespace std::cout int main() { //code } it does not compile, I'm using VS2010, an...
[3 replies] Last: There's nothing wrong with using the 'whole std namespace' even if you... (by ProgrammingNoob)
Pointers help
 
Greetings o/ I've been trying to create something to create a function that will import a Bitmap for use with OpenGL. Once I've imported the file I use the o...
[2 replies] Last: What code do you have , which is not working . (by bluecoder)
Class member is undefined ?! how??
 
hi, I have comented out last 4 lines where problem is (into file "Linija.cpp") rest of the code is OK. Linija.h #pragma once class Linija { private:...
[2 replies] Last: O my f* god. I use my glasses whenever I can, and this time I obviousl... (by codekiddy)
Collision Response
 
Hey forum, So I'm working on a mario-style platformer and I'm working on the physics now. Collision DETECTION works well, but now I need to HANDLE the collis...
[9 replies] Last: Yeah a fixed timestep is something I do in all my projects as well. B... (by Disch)
Delete file in c or c++
 
I want to delete a folder or file at a specific location using c or c++..............how can i do that
[2 replies] Last: With WIN32 it's DeleteFile but RemoveDirectory (to remove an empty dir... (by andywestken)
how do I write just one byte in hex?
 
and how do I write 2 bytes in hex as well? I am wondering if c++ is not the language for me as a lot of these kinds of things come up often.
[2 replies] Last: What do you mean by write just one byte in hex ? Do you mean write 0-... (by eypros)
by jai080
undefined symbol kbhit and printf()
 
prototype of a function in c++ is mandatory to give.........but when we give the prototype of the function then there are alot of errors..... see ex int...
[1 reply] : Try... #ifdef __cplusplus extern "C" { #endif int printf(const char... (by andywestken)
by ivansl
S.O.S
 
#include <stdio.h> #include <stdlib.h> void main() { const int n = 2; int i; FILE *Fout ; char namafile ; for (i=1 ; i<=n ; i++) { printf("%d\n", i)...
[1 reply] : Your title is totally unacceptable. Use a more proper defined one next... (by eypros)
by alend
Sort the rows of 2d array
 
I am going to sort the rows of 2d array. string **sortRowresult; sortRowresult = new string* ; for (int i = 0; i < ySize; ++i) *(sortRowres...
[3 replies] Last: http://www.cplusplus.com/reference/algorithm/sort/ why cant we do .. ... (by bluecoder)
how to make the pointer back to the beginning ?
 
Hello !!!! i need help here , this is my problem i used fscanf to read a file but now i need to fscanf it again from the beginning. Meanwhile my pointer stay ...
[2 replies] Last: How ? (by bluecoder)
by ivansl
Help me
 
#include <stdio.h> #include <stdlib.h> void main() { const int n = 2; int i; FILE *Fout ; char namafile ; for (i=1 ; i<=n ; i++) { printf("%d\n", i)...
[2 replies] Last: still declaration syntax man :( (by ivansl)
by hass
please i need a big help with this c++ can anyone help me out
 
Hi i need a help please am doing my collage about airline reservation system in C++,but i keep get errors,this is my codes #include <iostream> #include <ccty...
[3 replies] Last: can you edit your first post and use code tags, cos it's unreadable. ... (by codekiddy)
What's wrong with this code?
 
Hi. I trying to Write a class triangle with the following members: a. Private variables point a, b, c representing the vertices. b. Public constructor fun...
[8 replies] Last: but I think it is simply 1*1=1; (by Chriscpp)
November 2011 Pages: 1... 3637383940... 47
  Archived months: [oct2011] [dec2011]

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