- Strength to Increase Rep
- +7
- Strength to Decrease Rep
- -1
- Upvotes Received
- 5
- Posts with Upvotes
- 5
- Upvoting Members
- 5
- Downvotes Received
- 3
- Posts with Downvotes
- 3
- Downvoting Members
- 3
Hello everyone, my name is Mike. I'm 15 and I've been programming since June '08. I love C/C++, Gtk+, Win32, gtkmm, Linux, and just being on the computer :) I mainly enjoy creating random projects with many of my friends. Most are never finished, but…
- Interests
- Programming and Guitar
- PC Specs
- Compaq Presario CQ60 2GB RAM 1.9GHz Intel Celeron Processor 160GB Hard Drive Windows 7 RC Ubuntu Linux…
66 Posted Topics
Re: [url]http://pages.cs.wisc.edu/~beechung/ref/gcc-intro.html[/url] Hope i helped :) | |
This is just a little example of howto make a Gtk+ application go fullscreen. This is really useful in game programming. Please rate/comment/report errors :icon_mrgreen: | |
Re: Obviously Facebook! Just look at it's Alexa rank :) [url]http://alexa.com/siteinfo/facebook.com[/url] | |
Hello Daniweb, I'm currently working on a pretty straight-forward AJAX application. In this application, I get some XML, and then parse it. An example of what I'm working with is as such: [code] <?xml version="1.0"?> <postRoot xml:lang="EN"> <post type="comment" date="January 1, 1970"> <user>athlon32</user> <content>Hello World</content> </post> </postRoot> [/code] Now, I've … | |
Re: What OS are you using? I'm guessing windows, so look at this: [url]http://xerces.apache.org/xerces-c/install-3.html#Windows[/url] Is that any help? | |
I have a function in a Lua script, that will take a file and and will work on it. Part of the work it does is to empty the file completely before working with it. The easiest way I know of doing this is to open the file with [icode]io.open[/icode], … | |
Hello all, I recently was reading some code and i found something along the lines of this: [code="C++"]void GetText() { int* size = new int; // ....... // lots of code here // ....... size = new int; // crap here }[/code] ^^ as you can see size is 'new'ed … | |
Hello Daniweb! I'm coding a small application and I've hit a road block. I've been using C++ for almost two years now, but to be honest, I hardly use dynamic polymorphism (i prefer static), and so with great embarrassment, I come here to ask this: My code is basically structured … | |
Re: [QUOTE=Violet_82;1106261]Hi there, I am new to C++ and trying to get my head around it. I am writing really simple and small programs and I have Visual C++. Now, can anybody summarize how I can run a program I wrote with C++ on Visual? The guide that comes with the … | |
I just learned about linked lists, so i decided to experiment a little. I'm trying to make a linked list that automatically keeps all of the data in consecutive order (like bubble sort built in :P). Anyways, the problem is that while it adds data, the second thing added disappears, … | |
I know a little DirectX 9(I can draw a little, etc.), but i want to learn DirectX 10. I decided to take the tutorial that is provided in the DirectX SDK, so i did. Almost immediately i noticed that it was heavy. My CPU usage shot up and it took … | |
Re: [url]http://cplus.about.com/od/cgames/C_Games_with_Source_Code.htm[/url] | |
Re: keep this in mind: [url]http://www.dreamincode.net/forums/showtopic59947.htm[/url] :) | |
Example of how to get a random number in the range of six and return a value based upon it. Please Rate/Comment/Report Bugs | |
Re: This is a good example :) 5 stars! | |
Re: [QUOTE=abhi.navale;903923]I have vista basic preinstalled in my laptop. I want to install FIRST windws XP over VISTA and THEN Linux over XP. So my pc will have three os like this: 1. Vista 2. XP 3. Linux will it work? will linux recognise xp and vista and allow me to … | |
I've been learning DirectX, and overall, I'm really happy, it's not to hard and i can do tons of stuff. Now that I'm on more advanced things like meshes, i've run into a couple questions that i needed answering. 1. What is a good free program for making meshes? (One … | |
Re: well, it sounds like what you really should be using is a dynamic container like a vector, or a list...arrays are good, but they tend to waste precious memory :) I can understand if you're a noob, but vectors aren't hard at all: [url]http://cplusplus.com/reference/stl/vector/[/url] Hope I helped :) | |
Re: This might help: [url]http://www.daniweb.com/forums/thread36877.html[/url] | |
Re: First lemme say,So far so good. Whether or not you need a DB for this application depends on its complexity. If this is just a little thing, I wouldn't bother, but if this a full scale, or extremely complex situation, then look to a database. To check and see if … | |
Re: Settting up gtkmm in Windows: [url]http://live.gnome.org/gtkmm/MSWindows[/url] | |
| |
Re: Try a synaptics driver? [url]http://www.synaptics.com/support/drivers[/url] | |
Re: You could probably do that in Java or Javascript, those two are very similar to C++, in fact Java practically is C++ I would suggest Java over javascript because it's a real application language, it's totally OOP (so is Javascript, but in a different way) I'm guessing you know java, … | |
Re: [QUOTE=rockyman12;905673]Where can i start learning to work with l[B]inux[/B] -Linux tutorials - ebooks -Which distrubution do you recommend and why ?. (fedora, ubunto....) - And some other info Ill apreciate any help and information Thank you for taking an interest[/QUOTE] [B]Linux Tutorials:[/B] [url]http://www.lofwatlinux.com/[/url] [url]http://www.linux-tutorial.info/[/url] [url]http://www.ee.surrey.ac.uk/Teaching/Unix/[/url] [url]http://www.linux.org/lessons/[/url] [url]http://www.linuxplanet.com/linuxplanet/tutorials/[/url] [B]Ebooks[/B] [url]http://linuxebooks.com/[/url] [url]http://www.onlinecomputerbooks.com/free-linux-books.php[/url] … | |
Re: Hello There, not to disappoint you, but upgrading isn't a good idea. It's better to jusr install the new OS on top of the old one, it'll get rid of all your programs, files etc., but it makes things much easier make sure you backup all of your files!!!! Hope … | |
Re: [QUOTE=XTRobot;901886]Hi again,first i must say that i am familiar with c++ but only console programming. I am beginner so can you please be more gentle. I want to move on programming with buttons,windows,check boxs,input box and so on,i have heard of API and GUI what is the diference ? They … | |
Re: Well, when i visited your site I saw something telling you to upload your HTML files, but as for the moving logo, that's probably just part of the HTML rendering process. As it's parsing all HTML it'll move around a little depending on what's being worked with. Hope I helped … | |
Re: One idea might be to uninstall it and reinstall it, many times the fixes problems like this ![]() | |
Re: Like u8sand said...use "." [code]using namespace std; #include <iostream> class COne{ protected: int a; public: bool is_equil( COne & other){ if ( a == other.a) return 1; else return 0; }; int seta(int val){ a = val; return 0; }; }; int main(){ COne a, b; a.seta(5); b.seta(3); cout << … | |
Re: I think if you have the choice, either Ubuntu Server Edition [url]http://www.ubuntu.com/products/WhatIsUbuntu/serveredition[/url] Or Debian (if you don't mind setting everything up by hand LOL) [url]http://debian.org/[/url] If you're ok with paying a little money, you might wanna look at redhat as well Hope I helped :) | |
Re: Welcome to Win32 :) As long as your compiler/IDE supports Win32, and has all the includes (windows.h, etc.) It'll work. In my opinion the best compiler is Code::Blocks ([url]http://www.codeblocks.org/[/url]) [quote]if I can just start coding right away or do I need to download libraries etc[/quote] probably not :) Hope I … | |
Re: Welcome to Linux! First of all not all programs for Linux are open source!!! Infact, in some cases it is illegal to look at certain programs source code!!! (just thought I'd mention that) >[B]I haven't really seen anything[/B] Your probably not looking right...for example...in Ubuntu you can view the Linux … | |
Re: Hello, Please post your CSS so we can see what's up | |
Re: [url]http://elvis.rowan.edu/~kay/cpp/vc6_tutorial/building.pdf[/url] For more VC++ info: [url]http://elvis.rowan.edu/~kay/cpp/vc6_tutorial/[/url] | |
I've decided to start my first real project in C++, so I picked something simple; to make a game just like Pong. I've got most of the GUI setup, but i have no idea where to start on programming the computer character that will play against the user. Does anyone … | |
Re: [QUOTE=valinux;899448]I have never programmed before or used Linux (didn't even know what that was before a few days ago,) well I got a book for beginning C++ and a book for Ubuntu Linux. My stepdad says it would be best to learn C++ on windows and not to even mess … | |
Re: [quote]2. Why address of a and b are same.[/quote] They are not, i ran it on my computer and i get 2 different addresses [quote]3. If I use copy constructor here, then the first line of main() is giving error[/quote] Look at my answer to #5 [quote]4. Constructor is getting … | |
Re: Is this your first time with GUIs??? If so, i suggest learning Gtk+ first, it makes understanding Win32 much easier Technically, you could make a window with just this: [code=C]#include <windows.h> int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdLine, int CmdShow) { MessageBox(NULL, TEXT("First Program"), TEXT("First"), MB_OK ); return 0; … | |
Re: [code=C]#include <iostream> #include <windows.h> #include <string> #include <cstdlib> using namespace std; void Dodadi(void) { } void Odzemi(void) { } void Pregled(void) { } void Izmeni(void) { } void Baraj(void) { } void Kalkulator(void) { } int main() { string korisnik; string lozinka; char izbor; system("Color 3F"); do { do { … | |
Re: please use [ code ] and [/ code ] :) | |
Re: I googled it, and i think this was the only relevant link [url]http://www.codeguru.com/cpp/w-p/ce/networking/article.php/c7431[/url] Hope I helped :) | |
Re: Guessing you know all of this: [url]http://en.wikipedia.org/wiki/Z-buffer[/url] [url]http://www.opengl.org/resources/faq/technical/depthbuffer.htm[/url] [url]http://gpwiki.org/index.php/OpenGL_Tutorial_Framework:Adding_Depth_and_Color[/url] | |
Re: It really doesn't matter. C++ is C with a bunch of extras. If you take the C class, when you're done you won't have to learn a lot of the basic C++ things (functions, pointers) and you can move onto things like classes and templates :) I never learned C … | |
Just few quick question: How often are pointers to functions used? Should i implement them in my programs? | |
Re: These are pretty good standards to follow: [url]http://www.possibility.com/Cpp/CppCodingStandard.html[/url] but in reality, there isn't a standard, as you code more and more, you come up with your own style. for example i have a uniqu comment style: [code=C]/*** This makes an int ***/ int x = 0;[/code] coding has no set … | |
Re: [QUOTE=w33n;899142]Hi. Does anybody know some simple code for uploading a resume and having it sent to a specified email address? I have a client who wants that function on their temporary site. Thanks.[/QUOTE] Hi, there are many good file uplad scripts out on the internet: [url]http://www.google.com/#hl=en&q=upload+file+script&aq=&oq=&aqi=&aq=f&oq=&aqi=g5&fp=JJ2lHziMUzc[/url] Find a good one, … | |
Re: [QUOTE=walter clark;898055]The .h file traditionally holds declarations and the .cpp file the definitions. The #include inserts the human readable ASCII code that is the .h file, right there at the top before compiling. The main purpose of the .h file was to gather together all the declarations (more even than … | |
Re: [QUOTE=goody11;893393]My friend and I are trying to write a program for my Spanish teacher so that she can just type Spanish words and English words into an application, those words get stored as an array somewhere, and then another program that tests the kids uses that array. The program gives … | |
Re: This is the best book for learning C++, it's great for beginners: [url]http://www.amazon.com/Sams-Teach-Yourself-Hours-Starter/dp/0672326817/ref=sr_1_5?ie=UTF8&s=books&qid=1245595860&sr=8-5[/url] Please note, this book is very basic, when you finish it, you won't be a code.guru; but you'll be confident enough in the language to move on to many new things :) |
The End.