- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 15
- Posts with Upvotes
- 15
- Upvoting Members
- 8
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
166 Posted Topics
Re: is that the psuedo code you want to translate? or is that VB, sorry some times I can't tell the diffrence becuase I'm not well educated about VB. If its VB you can try posting it in the VB section as well, I bet alot of C programmers who also … | |
Re: I hope he does, 3.4 is a tad bit off .... hey try to do the project on your own and when you get absolutley then specify your exact problem and post some code then we can help you out :D | |
Re: pane.getContentPane().add(Date, flo.TOP); // can be TOP, RIGHT, BOTTOM, LEFT pane.getContentPane().add(Time, flo.BOTTOM); // can be TOP, RIGHT, BOTTOM, LEFT Heres the java documentation for JFrame: [url="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JFrame.html"]http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JFrame.html[/url] | |
Re: Click Start > Run > and type: "regsvr32 c:\windows\system32\jscript.dll" and "regsvr32 /i c:\windows\system32\shell32.dll" if that dosn't work try this work around: Workaround: Start > run > "Control Userpasswords" or "Control Userpasswords2" or lusrmgr.msc Desperate fixes: Try Xp's Restore Option, dos's restorereg?, and last, next tiem backup your registry. | |
| |
Re: [QUOTE=viperman224]I'm not sure if this is the right spot to put this. I was wondering how would you create and operating system like linux or windows or novell. What programs would you use. I've always wondered how it was done. I would love to learn to create my own.[/QUOTE]To achieve … | |
Re: [QUOTE=cuih1d]Hi everyone I'm a senior student and i'm working on my final project which is an ecommerce web application and i need some help. So if anyone know about that topic plz help Thanks :D[/QUOTE] Sure, what are you making? | |
Re: [QUOTE=Dark_Omen]Hello, I am new to make programs. So far I can just do logical stuff like math in a dos window. I now want to move on to making actual windows programs. Does anyone know how to make a GUI in C++ for a windows application? Any reading online or … | |
Re: [QUOTE=harycalis]Hello friends, I have registered my website on all top search engines. The web pages are content rich but still don’t have expected traffic. How can I increase traffic?[/QUOTE]To make a very long story short, you need to get pages that are already popular to nominate your site by placing … | |
Re: C/C++ is a fully functional language, you make the computer do virtually ANYTHING you want. The limitations of the language can be overcome with experience and skills. BTW: 73.2 % of all games on the market are created in C/C++ in cluding popular titles such as Warcraft 3, and Diablo … | |
Re: if you wanted to go beyond the call of duty you could do one of these: [CODE]#include <iostream.h> #include <stdlib.h> void main() { int MAX; cout<<"Enter a number to count by two to: "; cin>>MAX; for (int x = 0; x <= MAX; x++) { if (x % 2 == … | |
Re: its possible that a static charge could have caused a component to malfunction within your computer, although very unlikley...can you get it to work with the modem out? | |
Re: You need to post what it is your having trouble with, things you've tried on your own already and what the expected result should be. Posting code alone is not sufficient for understanding your question. Also, next time, please wrap your code in the proper tags. | |
Re: I also made a tic tac toe program in C++, if your intrested in my code feel free to email me :) | |
Re: You should take a look at the how some of the open source ones on the market have been coded by reading into their source code. Some good open source ones are Blender 3d (for linux) and Google Blender. The source code for those programs will provide better reading material … | |
Re: You could always enumerate all controls then get text info for your OK button caption then use SendMessage to send it WM_DISABLE, lol. I joke, that's a horrible solution. I believe mitrmkar is implying you subclass CPropertySheet. The example he used was a subclassed constructor called "CMyPropertySheet". With a subclass … | |
Re: With newer versions of windows you acn also use the "shutdown" command by calling system(); | |
Re: also if the files have been changed in anyway (updated, patched, etc) they will also be replaced. | |
Re: For others who don't know what an LR Parser is: [QUOTE]We show how LR parsers for the analysis of arbitrary context-free grammars can be derived from classical Earley's parsing algorithm. The result is a Generalized LR parsing algorithm working at complexity O(n3) in the worst case, which is achieved by … | |
I would liek to invisibly run a console application, capture it's output, and save its contents into a log window with an edit control. I know it's possible becuase i've seen it done, but how can I capture terminal output? | |
Re: When you want to pass a constant variable, pass it by reference to save memory. Example: int example (const int value); // Uses more memory than int example (const int &value); // this one | |
Re: this is where i first learned to make a GUI (which btw is not taught in most C/C++ classes becuase it is not standard, and is OS dependant) I prefer Win32 API over MFC, but I reccomend you try both and see which one you like better: [url="http://winprog.org/tutorial/"]http://winprog.org/tutorial/[/url] As for … | |
well lately I have been working on a CPU core for 6502 assembly, and I have been writing it all in c++. However for obvious reasons I was thinking of remaking the core in assembly. First I was wondering if it would be worth it (speed wise) to write functions … | |
Re: hmm i dont really know much about phython care to educate me? | |
Re: [font=Times New Roman][size=3]Just to expand on the major differences of usage:[/size][/font] [font=Times New Roman][size=3]The <iostream.h> library has been deprecated for many years now, but some C++ coders will still use it instead of <iostream> library. The .h notation of standard header files has been deprecated for about six(?) years. Of … | |
Re: just go for C and move to C++ then to ASM and finally all other programming languages will seem indifferent. thats what I did, but im not sure if its the best route. | |
Re: I know this may not seem like a super time saving technique, but the way you name your variables will help save time and reduce compile time errors.. Having a conventional variable naming format will help keep things organized and easy to read. [b]Styles[/b] Typically, most variable names get the … | |
Re: i understand your fustration, but please don't shout ;) i would reccomend getting your hands on 6 floppies with the dos OS on it and hope that will fix the failed detection with the hardrive, from there your back to tinker town. | |
Re: Register in one state. I like deleware. You will need a valid business adress for the headquarters and to file your state taxes, etc. There are businesses that you pay yearly to act as your headquarters for your corp. if you are not in state residence. All though its technically … | |
Re: [QUOTE=jwenting]That's the problem when you pull code from some website or book and submit it as your own... You learn nothing from it. Learn to make your own code, learn to understand the code of others.[/QUOTE] Copy Paste Find Replace! Hahah stay away from that philosphy and you will do … | |
Re: use stormpay, their mroe secure | |
Re: Straight from MSDN.com ... [QUOTE] int WinMain( HINSTANCE [i]hInstance[/i], HINSTANCE [i]hPrevInstance[/i], LPSTR [i]lpCmdLine[/i], int [i]nCmdShow[/i] ); [i]lpCmdLine[/i] [in] Pointer to a null-terminated string specifying the command line for the application, excluding the program name. To retrieve the entire command line, use the [url="http://msdn.microsoft.com/library/en-us/dllproc/base/getcommandline.asp"][color=#0000ff]GetCommandLine[/color][/url] function. [/QUOTE] So in WinMain do something … | |
Re: go into the options menu. next to the "start with windows" check box you should see a check box for "sign in automatically". If not look around its in there somewhere. | |
Re: I made a program that implemented the MD5 hash for files if you would like to view it? | |
| |
Re: Well im not sure if I could write the program for you (sounds like hw ;)) but since you mention "draw" i can defiently help you "draw" up the program hehe. First thing that comes to mind when you said draw is UML diagrams. This is a key role in … | |
Re: Using Standard Code: 1. You need a class to tell the turlte, aka the pen, direction, color, steps, etc. 2. You need a console menu that can input direction, steps, color, etc 3. You need to draw the turtle using a specific character like '@'. Instead of dynamically outputting the … | |
Re: [QUOTE=pnjeim]Hey there, I have a large program in Matlab that I have to translate into C. Is there any function or program that can do that automatically? Thanks, Patrick[/QUOTE]well the standard C math library has all the simple standards, other than that you need to re-implement your own methods for … | |
Re: structure object1 = {1,2,3,4,5,6,etc}; structure object2={"something","anything", "another thing"}; Now if u wanted "something" from object 2 to correspond to a number from object one you can use parralell arrays. But a matrix would be better. | |
Re: Instead of using a text file, use another format that lets you adjust the hieght between lines of the character and the page width. Check out RTF format. | |
Hey I have two side colomns and a middle column. The problem is when the content in the middle is too big, it overflows to the bottom of the page causing scrollbars. The side columns are susposed to expand with the middle column since their height is 100%, but they … | |
| |
Re: You should know how to do the following in C++: 1. Overload fuctions and Call Parent Methods (Class Structure) 2. How to use interfaces 3. Understand Data Structures and Custom Data Types 4. Geometry+ in math 5. Knowlege in 2d graphics and 3d graphics (especially triangles and rectangles) 6. Understanding … | |
Re: Yes there is, it is called sockets. On windows you can use winsock2 just include <winsock2.h> (it is part of the standard windows API). Search on the internet for "winsock tutorial" for further technical instructions on using the class. Don't forget to link against ws2_32.lib or dynamically load winsock.dll . … | |
Re: WM_CLOSE (specifically when the X button is clicked) WM_DESTROY (when the window is destroyed) Example of a Dialog: [CODE] [color=black]BOOL[/color] CALLBACK ExampleDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) {[indent][color=#0000ff]switch[/color] (message){ [indent][color=#0000ff]case[/color] WM_INITDIALOG: { [indent][color=#008000]// Almost like the dialogs constructor[/color] [color=#0000ff]return[/color] TRUE; [color=#008000]//Dialog will stay visible [/indent][/color]} [/indent][indent][color=#0000ff]case[/color] WM_CLOSE: {[color=#008000]// … | |
Re: Use PostMessage() . It will add your message to the the recieving windows message que. (SendMessage is to be used only within the same thread). Also, check out SendThreadMessage considering that PostMessage returns immediately so you can't get the return code from the message. You may need the window's HWND … | |
| |
Is it possible to distribute cideo processing by hooking the DirectX dll? I'm trying to prarralell process video over a LAN. | |
Re: Try ImageMagick it comes with a C++ API called Magic++ and suports tiff files and a bunch of other image formats. One of the best ones around -- you can fiind it here: [url="http://www.imagemagick.org/Magick++/"]http://www.imagemagick.org/Magick++/[/url] | |
Re: If you are working in the linux environment I reccomend using an API such as Qt (for KDE) and gtk+ (for GNOME). These APIs will allow you to easily have access to opengl functionality (you can read their docs). For example, with Qt, you would create a main window and … |
The End.