Windows Programming - April 2011 (Page 2)

reading in from a file to a certain point
 
hi all, question here about how to most efficiently do some file reading. I have a txt file, and ...
[2 replies] Last: you may edit it to your liking/usage EDIT:: i got this function from ... (by metl wolf)
Crash on Vista, works on XP. Ofstream problem ?
 
Hi there, My program crashes on Vista but works in xp (even in compatibly mode on vista). I fo...
[5 replies] Last: Hi there, What I tried: - Change Computername into ComputerName[MAX_... (by Ad Fundum)
How to Make a Calculator in Visual C++
 
last time i posted this i realized it was in the wrong forum. anyways, please comment, the video is...
[2 replies] Last: i dont think anyone using visual c++ would not have a good knowledge o... (by SpartanX)
gcnew keyword
 
Hi, I'm studying C++/CLI programming and I have problems with tracking handles. In some examples an...
[2 replies] Last: OK. Thank you for clarification. (by joseph63)
Top Level '^'
 
I've got a question. Is the Top Level '^' a pointer? If not can it be used like a pointer? Many than...
[9 replies] Last: Okay that's clear to me now. Thanks! :D (by closed account 3TXyhbRD)
by bayar
Unicode Characters
 
how can I read arabic characters from file? when i do that i get only one character ??? i think it...
[3 replies] Last: You need to know what encoding was used when the file was written. (by modoran)
Winsock issues
 
I am programming a network application using Winsock. Here is my code: #include <iostream> //DEBU...
[2 replies] Last: Sorry, I was getting highly frustrated and trying things out to see wh... (by rjalaskan)
Cursor - LoadImage
 
I am embarrased to ask this, but I'll be a green-haired monkey if I can figure it out. I moved up...
[2 replies] Last: I figured it would be you or one or two others that would answer. I go... (by Lamblion)
[Win32] Troubles selecting ComboBox items
 
I have a ComboBox, defined like this in my resource file: COMBOBOX IDCB_RESOLUTION, 50,50,50,150, C...
[2 replies] Last: Well, thinking a bit about it, I probably should have had sizeof(stra... (by hanst99)
by HenryJ
How do you use wprintf?
 
Hi, I am trying to display wide characters. Do any one know how to use wprintf?
[13 replies] Last: Sorry =( I would try to mess around with it more to figure it out, b... (by Disch)
Ellipse() and Rectangle() functions linker error undefiend reference to Rectangle@20
 
Hi guys Im having a problem with Painting a rectangle on a window. the following gives me 2 linker ...
[5 replies] Last: I need specs :-) (by guestgulkan)
by honamc
What's wrong with this code?
 
Assume that "userinfo.txt" contain the following text. abc 1234 90 The code is shown...
[6 replies] Last: #include<fstream> #include<iostream> #include<string.h> using namesp... (by honamc)
by honamc
how to show the specific word in text file in window form?
 
for a text file like the following: ////////////////////////////// username password 95 ///...
[2 replies] Last: i know how to do it in unmanaged code but how to convert to window for... (by honamc)
by mchei
how to show 2D array in Windows form GUI?
 
hi everyone i am making a game that i need to show an 2D array using GUI. for example, i create an ...
[3 replies] Last: thanks for reply! i am using vs2010 for my GUI form designing. (by mchei)
WinMain Background color?
 
Hi, for some reason the background color of my window is always black! I've been googling around and...
[2 replies] Last: This worked perfectly. Thank's a lot! (by Tomau000)
txt file input isnt working correctly..
 
everything works fine except that it won't stop when it reaches the end of the file, and keeps readi...
[2 replies] Last: wow.. that was simple.. thanks! it works now =) (by metl wolf)
stream_socket_client() in C++?
 
Hello everyone, there's a function in PHP called stream_socket_client. See http://php.net/manual/en/...
[2 replies] Last: Why don't you look at php souce code itself ? (by modoran)
by hakon
Filling up networkbuffer?
 
Hello I have a problem, which I think is because my network buffer gets filled up. The return from ...
[1 reply] : printf takes a C string and I doubt the data received is null-terminat... (by Athar)
by hakon
Problems with winsock on Win7, not XP and Vista
 
Hello I am working on a project which depends on winsock. I have based my code upon the Winsock gui...
[11 replies] Last: Kbw is the one who noticed the double function call. I just did the "l... (by closed account 3TXyhbRD)
How to Crop a Picture using win32 ?
 
This time I am trying to make a program. Which not only allows users to load a specific image file b...
[3 replies] Last: 1) Load the image to a HBITMAP with LoadImage() 2) Create a new HBITM... (by Disch)
April 2011 Pages: 1234... 8
  Archived months: [mar2011] [may2011]

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