Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

how do i learn win32 for c++?

Name: Anonymous 2007-05-02 16:18 ID:XRcdnMaL

i want to plot a graph from scratch and setpixel sucks dick. any good books to look at? msdn encylopedia is way too large.

Name: Anonymous 2007-05-02 16:19 ID:GjpvmtPk

Why the hell would you want to do it with C++?

Name: Anonymous 2007-05-02 16:26 ID:XRcdnMaL

cause im hella pimp

Name: Anonymous 2007-05-02 16:28 ID:XRcdnMaL

>>2
im looking for speed, the calculations that go into the graph are pretty long.

Name: Anonymous 2007-05-02 16:37 ID:GjpvmtPk

Just use Numpy like everyone else.

Name: Anonymous 2007-05-02 16:46 ID:KpE7iXLs

>>1
Use Python+Psyco. For graphics, use wxWidgets, I think I saw chart widgets somewhere. Or output something you can then feed GNUplot or something like that, I believe. Or do as I do, poor man's charts (AKA nigger charts):

print '%20s' % label, '#' * int(value * 55 / max_value)

Name: Anonymous 2007-05-02 17:46 ID:XRcdnMaL

>>6

i want to do it directly from api.

Name: Anonymous 2007-05-02 18:04 ID:Heaven

>>7
Why reinvent shit?

Name: Anonymous 2007-05-02 18:38 ID:KpE7iXLs

>>7
Don't, it's slower. It's slower because you take more time.

It's faster to develop for 1 hour, and execute for 15 minutes, than to develop for 10 hours and execute for 1 minute.

Name: Anonymous 2007-05-02 19:29 ID:BMK6ebGa

>>4
Do it in C then, sir.

Name: Anonymous 2007-05-02 20:23 ID:zaO2fSUB

Do it the Unix way: make the calculations in C, output it in a format suitable to feed to gnuplot, and pipe them together.

Name: Anonymous 2007-05-03 1:49 ID:lyl64VhK

>>11
is there anyway to create like a virtual pipe/console in windows or dos? im already nigger piping (creating in.txt, system("xxx.exe < in.txt > out.txt"), then reading out.txt) another .exe to do some of the calculations

Name: Anonymous 2007-05-03 2:40 ID:mHErYvPP

Name: Anonymous 2007-05-03 3:04 ID:Ww3TOFHh

>>12
|

Name: Anonymous 2007-05-03 5:44 ID:suzNd7xp

>>12
redirects != pipes

Name: Anonymous 2007-05-03 10:04 ID:Heaven

Name: Anonymous 2007-05-03 10:59 ID:uk4hB+/d

Windows has named pipes, shared memory, mailslots, sockets, and probably more. However, all of Win32 is a pain in the ass to use.

Use Python or Perl, they use it for you and provide you with a simpler interface to use them.

Name: Anonymous 2007-05-03 11:06 ID:74tVKTH9

If you're looking for a quick fix in window handling, Windows API is NOT what you're looking for.

Name: Anonymous 2007-05-03 21:26 ID:Hl1kseJs

C/C++ Win32 is the ugliest thing on Earth ever created.

Name: Anonymous 2007-05-03 21:31 ID:rx51w4r7

Win32 is the ugliest thing on Earth ever created.

Name: Anonymous 2007-05-03 23:12 ID:mHErYvPP

Name: Anonymous 2007-05-03 23:43 ID:txZj29cX

MASMEd
By hitchhikr. Written in VB with many features such as syntax highlighting, customizable menu/toolbar, Windows API help "on-the-fly" etc.

hmm.....

Written in VB

An assembly editor.... WRITTEN IN VB.
There is no hope for Windows.
There never was.

Name: Anonymous 2007-05-04 0:27 ID:2aeU0COU

Did OP go through with a written from scratch solution?  Post some source if you aren't feeling shy... >(-.-)>

Name: Anonymous 2007-05-04 0:32 ID:TiwzY6Kg

I almost forgot

forgers Win32API tutorial: http://www.winprog.org/tutorial/

Name: Anonymous 2007-05-04 1:07 ID:WaGrB19F

>>15
hence the qualifier "nigger"

Name: Anonymous 2007-05-04 1:11 ID:WaGrB19F

>>23

still working on it. im probably going to create a bitmap then display it. the piping part im not worried about yet since it still works well without it. (i would just integrate the .exe into my program since its open source but its library is sprawling shit) my next problem is screenscraping to detect certain images.

Name: Anonymous 2007-05-04 5:15 ID:HH5BZ1jY

Use wxWindows

Name: Anonymous 2007-05-04 7:30 ID:UjH9aS5o

Name: Anonymous 2007-05-05 2:19 ID:JFZjeMZJ

ive decided to display the graph in opengl. i figure i might actually be able to use the knowledge in the future.

Name: Anonymous 2007-05-05 5:51 ID:uIAQ4AbO

>>29
It has been three days and now you've `decided'? Is this kind of speed typical of C++ programmers?

Name: Anonymous 2007-05-05 6:01 ID:pQF2Gqq1

>>30
just wait until he starts planning his class hierarchy

Name: Anonymous 2007-05-05 6:07 ID:Heaven

The OP should just tell what he is trying to do so we could spite him with 10-line solutions in non-C++ languages.

Name: Anonymous 2007-05-05 17:17 ID:JFZjeMZJ

>>30

for something i spend a few minutes a day on, yeah.

Name: Anonymous 2007-05-05 17:19 ID:JFZjeMZJ

>>31

OOP is fail
procedural FTW

Name: Anonymous 2007-05-05 19:44 ID:ZAs+KVTo

"OOP".reverse().equals("POO")

Name: Anonymous 2007-05-06 1:18 ID:jisXSjPc

hi, i'm new here

HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL HASKELL

Name: Anonymous 2007-05-06 8:37 ID:EdsoX2Ox

>>34
Procedural is fail
Functional FTW

Name: Anonymous 2007-05-06 11:06 ID:L6PnQ7Mv

>>31,34,37
All languages are fail
Soldering raw chips FTW

Name: Anonymous 2007-05-06 11:36 ID:iPk6ZLkM

>>38
Would you like to have fish with your raw chips?

Name: Anonymous 2007-05-06 15:06 ID:PX4jl9bJ

http://en.wikibooks.org/wiki/C++_Programming/API/Win32
Skim over this because win32 is literally an API. You'll be using c++ and wondering how to order the system to do your work.

http://en.wikibooks.org/wiki/Windows_Programming
Section 1, 2 and 3's MFC intro are highly recommended,

Also, get VC++ 6 or 7 (not dot net's 2002+). Most examples on the web can't be done without its MFC, and here is where free or open source alternatives fail. For example, if you want to even make an icon, you can't with just gcc. Your resource file has to be created somewhere else, even though cygwin has a resource compiler.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List