- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
10 Posted Topics
Well you have to be somewhat intelligent to be able to program and by speaking proper english its a step forward.
Well you should either typecast addrsize to socklen_t* or just declare it that way. From what I've seen in google searches, socklen_t is just an int.
[quote=joshilay]int i=0,j=1; cout<<(j++)&&(i++); //output=1; i=0,j=1; printf("%d",(j++)&&(i++)); //output=0 can anyone please tell why this difference in output ???[/quote] Like the previous poster said, << is taking precedence over &&, so its running like this: [code](cout << (j++)) && (i++);[/code] printf is doing what you want, I am guessing.
Hi, I have been using the windows API for some time now and feel quite comfortable with it. I know for larger projects MFC is a better choice over the raw API. I've been google searching for some good tutorials on MFC but haven't really found any good ones like …
Hi, I am just a beginner at windows programming, so I am wondering, how do I create a dialog-based application (similar to that of using VC++ and MFC) with just the pure windows API? Currently I am just doing the following, but I have a slight feeling in my gut …
C++ correct? [CODE] #include <string> using namespace std; bool StringExists(string check, string tocheck) { if (tocheck.find(check, 0) == -1) return false; else return true; } [/CODE]
Im learning to write a DLL in Win32 C++ and I've found that its pretty straightforward :) I just have a few questions: 1.) Do I have to have a DllMain function? 2.) Why do some functions look like this: [code] void _stdCall bla() { ... } [/code] And some …
I kind of just did your assignment for you :cheesy: I was interested in trying it out. Basically this uses the ASCII values for the characters to shift them and that helps make it nice and neat. [code] #include "stdafx.h" #include <iostream> using namespace std; void ShiftLetters(char *buffer, int places); …
[QUOTE] >>I would like to know who asked u...Just an honest interest[/QUOTE] You would hope its a teacher and not just say... a family friend, since itd probably be a better investment to just buy some virus protection software :cheesy:
Hi, I am new to MFC and have been practicing and currently have run into a problem: I have a "Quit" button and its mapped to a function already but how do I abruptly end the program? What function do I call? Thank you, Mitchell H. EDIT: Ive just added …
The End.
MitchellH