Sunday, August 2, 2009

Algorithms and c++ programming help ?

Well, please tell me if anyone knows a tutor who could help me with C++ algorithms, I am in high school need help for an Olympiad. Books and links would be really appreciated, by books I mean, E-books pdf, or any references to online tutorials. A tutor residing in (NewDelhi, Noida) would be a real good help. Currently I am refering to 'How to solve it by RG Dromey'.

Algorithms and c++ programming help ?
Check it out whether this is wat u r searching for:


--http://www.cppreference.com/cppalgorithm...


--http://www.cs.sunysb.edu/~algorith/imple...


--http://www.codeguru.com/cpp/cpp/algorith...
Reply:Well, I don't know how advanced your C++ curriculum is. But, maybe check out www.cplusplus.com . Besides tutorials, they also have sample code.





And why New Delhi? I know the stereotype is that Indians are good programmers, but I'm sure there's plenty good programmers locally.

sympathy flowers

How Do I Learn The C Language?

I want to learn how to learn the C language, and how to begin programming, i would like to here about any free online tutorials or any books that are available.

How Do I Learn The C Language?
http://www.programmingtutorials.com/cplu...





http://www.programmingtutorials.com/c.as...
Reply:take an online course;)
Reply:dont waste your time on e-book .. just purchase C in 21 days .. and it will be the 21 dayz game .. rest is up to you
Reply:Buy the C programming book of McGraw-Hill publication,its gr8 dude u can be a master in C
Reply:Reading alot, or watching stuff on it. Then, from there after learning the syntax list, it's easy. Just apply what you know.
Reply:as one of our frenz said if ur entirely new to programming try go and books like


let us c by yashwant kanetkar --- a gr8 book


How retain the data in a variable in C programming( not C++) after closing the program???

Iam trying to make a information system using C, not C++ but i want to save the changes done when i open my program and close it and when i open again it does'nt go back to the original but the retains the changes done.


Meaning A was originally 1 but when i run the program i changed A into 3 and when i close the program and then open again i want A to be 3 not 1.


Can anyone help cause i cant seem to understand the tutorials in the internet.


tnx :)

How retain the data in a variable in C programming( not C++) after closing the program???
Store the data in a file. When the program starts up, read the values from the file. When the program ends, write the new values to the file.





Suppose you want variables a, b, and c... (double-check my syntax)








FILE *iniFile;





/* Open the file and read in the values */


if ( (iniFile = fopen("mydata.ini","r"))==NULL) {


printf("Unable to open file for read!\n");


exit 1;


}





/* Read in the values */


if ( fscanf(iniFile, "%d %d %d", %26amp;a, %26amp;b, %26amp;c) != 3 ) {


printf("Error - not enough values on ini file\n");


}


fclose();








/* Write out new values -


NOTE: this wipes out previous values */


if ( (iniFile = fopen("mydata.ini","w"))==NULL) {


printf("Unable to open file for write!\n");


exit 1;


}





/* Write out the values */


if ( ! fprintf(iniFile, "%d %d %d", %26amp;a, %26amp;b, %26amp;c) ) {


printf("Error - unable to write file\n");


}


fclose();
Reply:When you close the program just save any variable or change or whatever in an external file (such as a*.cfg file or what you like the most).


I want to Learn C programing?

Help me to get the list of all errors in C programming and how to rectify it. I need names of some books for the same too.





Iam using Turboo C as compiler





iam getting lot's of errors





How to debug I would like to Know very good free tutorials pls help me!!!!!!!!!

I want to Learn C programing?
any international edition is good. if u want to learn then practice with it. the more time u spend the more knowledge u gain....... if u stuck with some error. feel free to send it to me, i'll give it a try and let u know.





rajeshwarraja@yahoo.com
Reply:Um. I have learnt C, C++ and Java already. Please contact me at ramanathansp1992@yahoo.co.uk coz I wan't to tell personally.


Learning C++?

I know the basics, cout %26amp; cin, OOP, pointers, functions and a bunch of stuff, I know lots about programming in text based console apps.


I have bought 2 books, the first going over very basic, and the next a bit more advanced.





I want to be able to program with graphics! How do I do that!


Nothing will tell me! I don't wan to buy any more books, I'm pretty much broke, I'm using Dev-C++ as my compiler, as I can't afford a high quality one.


Someone name a website or place that offers free tutorials that teach you programing with graphics. I don't want something that just shows source code, that is dumb, because you don't know what It means, I want something that will show, and describe to me how to do. Thank you

Learning C++?
for games gamedev.net


but to learn graphics go to codeproject.com


u have to use MFC,WTL,ATL or similar library file provided by others to do graphics


the basic graphic can be done using win32
Reply:Asking for too much to be written here.. visit comp.lang.c++ newsgroup from Google groups. Their FAQ and old threads have answers for your questions. That was a short answer wasn't it? ;)





I hope you have already sen things like CUJ(out of publication now), Dr. Dobb's et al.
Reply:search devshed can't remember but think it's devshed.net, but it will have a list of languages on the left to choose from. also, devguru and search yahoo for free online books programming, should help you find a bunch of online texts for development.

bridal flowers

I satyed up all night to google, yahoo, msn and anything else some C programming courses?

I have many tutorials but I hate them so I want some clases that will take place during this summer in Las Vegas, NV! I hate tutorials because I can not understand anything from them! So some classes would be better for me!





I need this classes to be for C programming language (some C++ would be OK but I prefer normal C)





I do not care about the price! I only want it to be in Las Vegas and to be anytime from 10 AM to 6 PM!





I prefer these classes to start in june( arround 10th of june)








Thank You Very Much

I satyed up all night to google, yahoo, msn and anything else some C programming courses?
Learn C Programming from from the Expert !





This is Prince M.Premnath A top rated programming expert from www.allexperts.com , Ensure it by following the link given below


http://www.allexperts.com/ep/1587-74129/...





Im conducting online classes for programming , hope ill do the best for you,


This is my mail ID : princeatapi@yahoo.co.in


respond me if you wish





Thanks and regards!


Prince M. Premnath
Reply:Here is a jump start on your c programming. Use the free online videos at Berkeley. When you enroll in college you can use this to supplement your classes.


http://webcast.berkeley.edu/index.php





Below is a specific link to one of their many classes online.


C++ for beginners, now what?

I just finished a c++ for beginners book. I know the basics, can build some pretty nice console apps and stuff, but my question is; Where do i go from here? I cant seem to find anything that transistions into windows apps/games and things like that. It seems that all the books/tutorials are all either very beginner or advandced, I feel kinda stuck. Any advice would be greatly appreciated. Thanks.

C++ for beginners, now what?
Take a C++ course at a local community college. That's how I learned Java.





Once you're feeling up to it, search the internet for "Design Patterns". You'll find lots of references. Design Patterns are to Object Oriented programming what Data Structures are to Procedural programming.





If you can start to become familiar with Design Patterns, then you're C++ coding will become much better.





Good Luck.
Reply:There r lots of advanced topics..


Smart pointers, templates, COM/DCOM etc..





try VC++ or gcc(4 all platforms other than windows.)
Reply:Get the bloodshed dev-cpp system and download the SDL (graphic/sound/and more) libraries. There is lots of good stuff on the SDL site that you can learn from by example.





Hundreds of SDL-based games/apps/tools/demos are available there, some simple and some quite sophisticated.
Reply:Try to search the internet. There are many tutorials regarding C++, even more on building games.


C#/.NET to Java/J2EE developer? Where do I start?

I'm a ASP.NET developer coding in C# and am interested in getting started with Java and the J2EE platform. Where do I start? Is there a free SDK and framework that I can download and run like there is for .NET? Any good tutorials with examples? I'm looking for techniques and development styles that are new and are widely utilized in today's business.





Thanks!!

C#/.NET to Java/J2EE developer? Where do I start?
If you said that you wanted to move from VB.NET to Java, I would say it would be a bit of an effort. However from C# to Java, it is a lot more easier. You will be surprised how similar the syntax of the two languages are.





The sun website is a good place to start learning java. There are a lot of other websites that have good tutorials but it depends what you want to learn.....When you say java, it is pretty vast. There is a lot in java and it will depend on what you are trying to learn.





Example you mentioned you were coding in ASP. NET so I assume you are intrested in web side programming. Java has JSF, JSP, Strurts, Servlets etc. A lot of these are interlinked but like i said it all depends what you want to learn to program in.
Reply:hey have a look at www.sun.com


U will find all tutorials


See this site :


http://java.sun.com/docs/books/tutorial/


C++ prgramming question...?

k so i waswondering, first of all is C++ the prgram you use to make simple games? liek rpgs ns tuff. and does this look liek a god site to teach me how? http://lazyfoo.net/SDL_tutorials/index.p...

C++ prgramming question...?
Yes, C++ is used in the industry, but it is used for complex 3D games.





if you are interested in game programming, I suggest starting off making games like Pong





there's no way you could make a full RPG without at least 5 years programming experience





or, you could cheat and use RPG maker =]
Reply:The Programming language you use to make simple games is the programming language you're using. SDL looks more like C than C++. There is some overlap and especially because you do this sort of thing with a library like SDL which is not instrinsically part of the language. If you don't know either C or C++ then I have to say no. Find a more basic tutorial which uses iostream or stdio.h for text-based output, and once you understand program structure jump to SDL. Or allegro.
Reply:It is, though you must have a great amount of knowledge and experience to create complex games. You should go to your local library and pick up a C++ programming book, find one that is for beginners if you are just starting.

wedding reception flowers

C++ Library for HTTP access?

Hi, I'm a begginer at C++, and I was wondering if anybody knows of a good easy-to-use library to access a file on a server through http, kind of like how a browser does. Any help will be greatly appreciated, tkz in advance! Tutorials will also be good.

C++ Library for HTTP access?
Start here:


http://www.programmerworld.net/resources...





They aren't all networking, but there should be a few good ones.


Where can i download free books on programming on c?

i am learning programming in c and would want to know from which website i could download free tutorials for beginners.

Where can i download free books on programming on c?
http://www.iu.hio.no/~mark/CTutorial/CTu...





excellent tutorial that covers everything you need to get started.
Reply:You can also check free programming ebooks website like http://myitcareer.org/ .
Reply:You could try the public library. It is likely to have many programming books that are free.


I have to make a big decission! It is Microsoft C# or Linux C! I know just a little bit about c#!?

I know nothing about C!


In the same time I want to catch up with the latest stuff and go with C# but I also want to learn about C in Linux, sockets and a liitle bit of lower level like C(do not give me assembly)


I do not know wich one to start off with first and every single time I decide on something, I try and find tutorials, but I suddenly feel that want to go back to the other one! It is a weird feeling and I also think I got some mental problem ! Please help me with this and do not tell me to look on the other discovered questions!


Could I go with both at the same time since they have a similar syntax?? (not really similar but close)

I have to make a big decission! It is Microsoft C# or Linux C! I know just a little bit about c#!?
I vote for MS C#. I love their new Visual Studio.
Reply:Wow, you are really being pulled in 2 directions here. Coding C on Linux is about as far from C# as you can get. It will probably be in your benefit to learn C very well (especially pointers) and then move onto C++ before really understanding C#. C# may look incredibly simple, and it is, but internally it is very complicated. Fortunately, you rarely have to worry about this complications, but sometimes it will become important, and the average ignorant C# code won't know how or why something is performing as it is. Note that C# can run on Linux too (lookup Mono).
Reply:Learn C# simply because of money. C# programmers can easily make 100,000 a year with just 4 years experience. C programmers are a dime a dozen and average 60-70K a year. C# is quickly becoming the standard in most shops and people are needed. C is old and is not built well and will confuse you when you want to make the jump to C#. C# is highly object-oriented while C is more procedural. That's like asking - should I learn to use an abacus or a calculator... I'd choose calculator any day.
Reply:read these links hope thins help...start with ANSI C then go ahead with c++





happy coding :)





Cheerz, Steven
Reply:You know, if you get the VS C++ Express and VS C# from Microsoft, you can learn both, as far as sockets and networking, those API's are system dependent, basically, the way you make it in Linux is different to the way you do it in Windows, even if you are using plain C.





C# is a proprietary Microsoft language which gives access to the Microsoft .NET framework (basically a big API arranged by namespaces), all Networking API in Windows and Linux can be accessed using C++, all C functions can also be called by C++, only if you use Gnome GUI programming you will have to use C, but I am sure you can always link the libraries to C++.





Bottom line, learn basic C++, learn the basic algorithms as loops, if else, recursion, array and string manipulation, etc.


Once you master the basic algorithms, start learning learning the use of libraries or APIs.





If you understand the principles and logic of algorithms, you can apply the same logic to any language (C, C++, C#, Java, VB, etc), learning the syntax can be a few hours depending on how good and experienced you are.





The hardest part is learning the API, because you have to go through all the functions available and figure out what they do and how to use it, for example, Microsoft has the platform SDK for Windows Programming which is in C or C++, MFC is C++ Windows programming, COM is for Windows and its C++, VB has its own Windows API which are kind of similar to the Platform SDK and .NET, which shares it's namespace in all the .NET languages (C#, VB.NET, Managed C++ and J#)





If you want to take C#, you will still need to learn the logic and algorithms before using the Windows libraries to make GUIs, otherwise you will be a cookie cutter developer.





Go to microsoft.com and get the Visual Studio Express version, they are FREE and come with tutorials.
Reply:Just FYI, C# and C are nothing alike.
Reply:Learn C first. Some may argue "learn C# first, it's easier", but in reality C# is very similar to C++, which is based on C. If you want to be any kind of efficient programmer in C++ or C# you should learn C. Then learning C++ after that is a breeze, and then learn C#, which if you know C++ is really just a matter of slight syntax changes and learning all the .NET System namespace. Also, once you learn the .NET stuff, you give yourself a huge boost into other languages that use the .NET library, such as C++ in .NET, VB.NET, etc.


Does anybody know of any good, free sites that can help me learn C++?

I want to learn the programming language C++, but I can't find any *free* sites that have lessons/tutorials. Please help.

Does anybody know of any good, free sites that can help me learn C++?
log on these web pages:





http://www.click-now.net/ebooks.htm





http://www.thefreecountry.com/documentat...
Reply:To learn it from scratch I suggest get a book and read it. C++ is getting too old, it is better to start C# and download free Visual Studio Express from Microsoft. Also MS MSDN is a great place for learning new language as well.
Reply:free_ed.net
Reply:www.cplusplus.com/doc/tutorial/
Reply:I would learn C# instead. Many C++ programmers I know are being retrained in C# because it is the latest and greatest. You can start at LearnVisualStudio.NET and download Visual C# Express for free from microsoft.





http://msdn.microsoft.com/vstudio/expres...
Reply:Hi





Well there really are no free sites for it , but better yet , if you use limewire or emule just search for a string like visual C++ and that should get you a bunch of files and doc for learning C++

flowers gifts

What should I learn after I master C++?

I'm a computer engineering student and I'm still trying to master the basics of C++. I just started learning about classes and memory management and arrays. In my book those are the last few topics. There are further topics on online tutorials and such and I plan to move on to Java next.





After I master C++ classes, what is next?





How do you learn how to make GUI in C++?





My other question though is what computer languages should a computer engineer or possible software engineer definatly learn? What are the most popular languages?








should I learn other languages like:





HTML,PHP,Javascript, Perl, Python, Visual Basic, ASP.net, XML, SQL?





Should a computer engineer know all these?

What should I learn after I master C++?
I've been doing Software Engineering for twenty plus years. Here's what I think:


C++ may be the most complex language you'll learn. You will need to learn a lot of the supporting libraries as mentioned by OOP's. PERL, Python and PHP are scripting languages and you can learn them as you need them. I think Java is important to learn, it is a delightful and useful language. The syntax is similar to C++.


The web based languages (HTML, Javascript) are worth learning if you plan to do a lot of internet stuff.


XML is useful and easy. In many situations.


I have to say that once you have C++ under your belt other languages come pretty easy. They all have loops conditions and variables, many support object oriented programming. I have never learned PERL, Python or PHP to any degree, but can figure out how to use them when there is a particular need. I've used all three at one time or another.


Visual Basic is just a shell, so to speak, over the DotNet CLR. So, it is no more useful than Java#, C# or managed C++. And since you will know C++, C# and managed C++ are a matter of learning their DotNet quirks.


Mostly, as a software engineer, you will come to a job and have to learn the application and particular libraries the employer is interested in. So you may have to learn a new language on the fly. But you should understand basic data structures and algorithms. Also math through linear algebra is important. And most importantly, as a software engineer, you need to understand how to solve problems. Then languages are just tools to solve them.
Reply:Well, if you manage to learn C++ properly, you should learn the most useful libraries for it, as C++ is probably the most powerful language available. (Well maybe C is better for drivers..meh).


Here is a list:





Win32 API -Allows you to make GUI using C++ on Windows,


lets you handle processes, threads, user input, make video game cheats..loads of stuff


Winsock - Lets you make networked programs


Direct3D - Lets you make 3D programs.


Fmod - Sound library used by many professional game designers





Various other useful ones like zlib, libpng, etc..





Of course, this depends on what you want to do with your programming. I also suggest you learn Perl, as it's a good language with which to quickly develop small utilities and text handling / administration programs. If you get into web design, you should learn Flash, Javascript, SQL, and PHP.





I advice against learning Java unless you must, since it sucks. (C++ is wayy better, although not as portable.) A computer engineer should know C,MIPS, and x86 assembly. These are relatively low level and are what engineers often have to deal with. (The ones you listed are high level and are used mainly for Web development.) The most popular languages are C/C++, C#, and Java.





C# is also good for rapid development, but the user must have .net framework installed...so that might reduce the portability of your programs. I would suggest you learn C# instead of Java because it's portable on all machines with .net installed (Like java needs the Java virtual machine installed) but is much faster and simpler, but just as powerful. Good luck.





Note: Idk where you plan on learning your programming, but I'd like to let you know I have learned all of these except PHP and SQL through the sole use of Google.


Can I learn C++ in 5 days? and how?

i don't really know C programing, just the very basic. then can i learn C++?i have to learn it in 5 days by myself. so if you know any online tutorials or something what really can help me in this 5 days, please help!:) thanks.

Can I learn C++ in 5 days? and how?
Most of all modern/mildly modern progrmaming/scripting languages are about the same. Their syntax is just different.





If you have a good grasp on programming concepts and theoretical programming then 1, I'd like to applaud for your hard work and effort. And 2, say that since you know pascal then C++ should be pretty easy to learn.





The quickest way that I know is this site:


http://www.cprogramming.com/tutorial/les...





Just zoom on through there and if you have any questions


about C++ then feel free to E-mail me at





void_3e01@yahoo.com








- Hex
Reply:http://www.cplusplus.com/doc/tutorial/


http://newdata.box.sk/bx/c/


http://www.learncpp.com/


http://www.cyberdiem.com/vin/


also, google "learn C++" that's where I got these links.
Reply:Well, if you know the basic concepts like loops etc. it is easy enough. The actual syntactical part is easy enough. But you knowing C will help you. But, to actually master it, learning isn't enough. You have to practice. Want to pass a test, I hope you can. But you cannot master it in just 5 days.
Reply:It would be difficult but it is not impossible.I found one book quite well written and easy to understand without being verbose.I do not remember the book's name.But it is authored by Robert Lafore.
Reply:Learn it for what reason? To pass a class? Sure, no problem. To be proficient and do a paid job? No, not a chance.
Reply:you can lean it if you work day and night all the time with a good book or site. but even then you will know the bascis...to become a good programmer or at least a decent one you must go over all kinda problems and try to solve it yourself without guidance or books etc...and this needs time...so i suggest you a good site or bying a book and start studying

daylily

C++??????pls help?

Hello, I want to learn c++ at home in this holidays .so, it is useful to my B.tech. Anyone pls tell me where to downlload this


c++ software.I asked this question two times b4. All r giving the


website names. After entering those websites, there r so many names of compliers ,etc. which I don't know. I am confusing wht to download.Pls give me the direct download link and name of it and also pls give me the site where to download the tutorials of it.


thanks.

C++??????pls help?
this website has a tutorial...


http://www.cplusplus.com/doc/tutorial/


Suggest some good tutorials to get started with java.. i am good at c++..?

how good at C++ LOL just go to http://java.sun.com/docs/books/tutorial/

Suggest some good tutorials to get started with java.. i am good at c++..?
Sun has some Java tutorials that are good for people new to Java.





http://java.sun.com/learning/tutorial/in...


Programming C# by examples?

I want to learn to make desktop applications. Can anyone recommend a book or tutorials where I can learn from examples?


I don't want a book with C# syntax. I want one with practical examples on how to build GUI and add code to save and open data to a file or use a database.

Programming C# by examples?
http://www.about.com





and then go to the channels and computers and then look for programming








do i get 10 pts
Reply:I gave alexander good rating But I prefer TJ's answer Report It

Reply:i still got 10 pts so i dont care Report It

Reply:Erik Brown's book "Windows Forms in Action : Second Edition of Windows Forms Programming with C#" is excellent.





"The book is a tutorial, leading the reader through Windows application development using C# and Visual Studio .NET. It illustrates how the classes in the .NET Framework interact in a fully functional application."





The book takes you through the process of building a single, robust application.
Reply:there's these amazing tutorials that i learnt c# in. hope they help you!


Im a c/c++ user, and im stuck to basic programing, i know clases,reference,pointers,ADT'... etc. i cant apply 8

how can i apply it, i mean i cant apply it to make a game, a database, a keylogger, etc. I have no reference and i think im stuck to basic programming.i usually rely to online tutorials but i cant find advance and intermediate topics. I and started to learn Visual c++ but i really dont know how to make a game? where should i start? Does everyone experience this kind of transition from basic to intermediate? thanks a lot..... Ryuuzakiii -aspiring programmer-(-,-)

Im a c/c++ user, and im stuck to basic programing, i know clases,reference,pointers,ADT'... etc. i cant apply 8
To practice swimming, you shouldn't jump right away into the ocean, pal! Try practice in small pools first.





Your first problem is your "view". It is like you know what a riffle is good for, and you know the concept of firing a gun, but in practice, it looks like a normal stick or baton to you.





First try to write short pieces of programs. Oblige yourself to forget the conventional way of programming, and try hard to find the classes and objects related to your short problem. Do it over and over until you feel you cannot do without them. Then the great ideas would come to you by themselves!





Good luck
Reply:want some resources for game programming i have few articles and source code but only in c language i you want it then mail me with subject as "c game" to


firozahmed143@rediffmail.com
Reply:I've been programming for a few years, and I'll tell you right now -- starting a game is a bit more advanced than the beginner/intermediate border.





I'd love to help with whatever your problem may be, but I think you've had some trouble posting it -- I can't exactly say I know what it means to "apply 8". Sorry.

flamingo plant

Im a c/c++ user, and im stuck to basic programing, i know clases,reference,pointers,ADT'... etc. i cant apply 8

how can i apply it, i mean i cant apply it to make a game, a database, a keylogger, etc. I have no reference and i think im stuck to basic programming.i usually rely to online tutorials but i cant find advance and intermediate topics. I and started to learn Visual c++ but i really dont know how to make a game? where should i start? Does everyone experience this kind of transition from basic to intermediate? thanks a lot..... Ryuuzakiii -aspiring programmer-(-,-)

Im a c/c++ user, and im stuck to basic programing, i know clases,reference,pointers,ADT'... etc. i cant apply 8
here is a link where you will find C++ and visual C++ game programming resources which includes free tutorials, e-books, on-line training and many other resources.


And don't worry everyone experiences difficulties in starting.





Just follow the link and enjoy :


http://www.deitel.com/ResourceCenters/Pr...


Ebooks for c language?

wheres a good place to get free ebooks that teach about the c language for programming. im new to programming, so any ebooks that give tutorials would be nice.

Ebooks for c language?
You can also check free programming ebooks website like http://myitcareer.org/ .
Reply:The C Book is online at: http://www.freebookzone.com/goto.php?bkc...


Learning GNU C: http://www.freebookzone.com/goto.php?bkc...





Your Public Library may have additional eBooks for temporary downloading.
Reply:ive never yet seen such a %26lt;a href="http://www.perlisbooks.com/vbks/fr...


"%26gt;FREE MEGA EBOOK DOWNLOAD%26lt;/a%26gt;
Reply:I enjoyed this one when I started





http://www.cplusplus.com/doc/tutorial/


How do you link the Directx SDK library to the Dev-C++ compiler?

How do you link the Directx SDK library to the Dev-C++ compiler, and is the Directx library compatiple with all directx tutorials on the net?

How do you link the Directx SDK library to the Dev-C++ compiler?
I don't use Dev-C++, but according to a tutorial, click on the tools menu and click "compiler options", then click the Directories tab. Add directories from the Microsoft Directx SDK to the correct items, such as the include files to the include item and library to the library item.


How do you link the Directx SDK library to the Dev-C++ compiler?

How do you link the Directx SDK library to the Dev-C++ compiler, and is the Directx library compatiple with all directx tutorials on the net?

How do you link the Directx SDK library to the Dev-C++ compiler?
Double post, go to:


http://answers.yahoo.com/question/index;...


Beginner C++ Help?

Hi,I'm new to C++. And I mean literally new, as in I just started yesterday. I've read a few tutorials and learned somethings but I still know basically nothing. I'm making some simple programs to practice and the current one is a random number generator. Here is the code.





#include %26lt;iostream%26gt;





using namespace std;





int main()





{





int a,b,c,d,e,f;





string g,h="a";





loop:





a = (rand()%10);





b = (rand()%10);





c = (rand()%10);





d = (rand()%10);





e = (rand()%10);





f = (rand()%10);





cout%26lt;%26lt;"\n";





cout %26lt;%26lt; a;





cout %26lt;%26lt; b;





cout %26lt;%26lt; c;





cout %26lt;%26lt; d;





cout %26lt;%26lt; e;





cout %26lt;%26lt; f;





cout%26lt;%26lt;"\n";





cout%26lt;%26lt;"\n";





cout%26lt;%26lt;"To create a new random number, press a and then enter.";





getline (cin,g);





if (g==h){





goto loop;





}





cin.get();





}

Beginner C++ Help?
As Ahmad said, you need to seed the PRNG. srand with time as an argument works well. But I have a few things to say about your code.





The first is your variable names. Please choose more meaningful variable names. You realize they can be more than one letter long right?





Do not use goto and labels. They have their use, but no beginner and most intermediates will encounter such a situation. There are flow control constructs, like for loops, while loops, and do while loops. Use them. Your code could be rewritten to use a do-while loop and two for loops.





There’s something called an array. You should learn it as soon as possible.
Reply:You need to seed the random number generator.





http://www.cprogramming.com/tutorial/ran...


How to dance easy hip hop moves or i want to learn how to c walk?

I want to learn how to c walk or any other cool hip hop moves , send me tutorials of links and very good specific ones and i mostly want to learn how to c walk and I've looked everywhere and if you know how can you tell me what moves you do first , second , third , fourth , like all that and specific on how to do it. Thanks a lot for reading this question and commenting :D

How to dance easy hip hop moves or i want to learn how to c walk?
the simplest way to learn how to cwalk is off tutorials off youtube. however, cwalking isnt about learning a ton of moves but its you making up your own. so most tutorials you find will teach you the basics with a few examples of variations and combos.





I suggest you start off with Kyren's tutorials on youtube. There is no specific order in learning how to cwalk, but most people learn the V, shuffle, and then heel toe.





also, feel free to join www.thecwalk.com, the biggest community for cwalking and where all the best walkers are.
Reply:the standard cwalk that we all talk about is 'clown walking' the dance, which was based off the crip's crip walk. Report It

Reply:Believe it or not but you can learn dance moves from Fit TV All Star Workout.
Reply:Do on search for some hip-hop dance classes in your area. We have a few of them around here and they are awesome.


C++ programming?

hi,


i have by now finished the basics of c++ programming like header files, functions, structs, pointers and many more....but i have only worked with #include%26lt;iostream.h%26gt; header file and wherever i search on the internet i only get tutorials for this header file... so can you send me any links to some tutorials whee i can go further in learning....and one more question can you give me a complete list of all the header files that all available in microsoft visual c++ 6.0 with their functions may not necessarily here but through a link as well,..Thank you

C++ programming?
Here is a list of header files :-





mcalc


abstarry


alloc


array


arrays


assert


assoc


bag


bags


bcd


bios


btree


checks


clsdefs


clstypes


collect


complex


conio


constrea


contain


ctype


dbllist


def


def2


deque


deques


dict


diction


dir


direct


directry


dirent


dlistimp


dos


errno


fcntl


figures


filedata


filter


float


fstream


generic


graphics


hashtbl


io


iomanip


ldate


limits


list


list2


listimp


locale


locking


ltime


malloc


math


mem


memmgr


memory


new


object


point


priortyq


process


queue


queues


resource


search


set


setjmp


sets


share


shddel


signal


sortable


sortarry


stack


stack2


stacks


stat


stdarg


stddef


stdio


stdiostr


stdlib


stdtempl


string


strstrea


tcalc


time


timeb


timer


types


utime


values


varargs


vectimp


vpoint


_defs


_null


iostream





Enough. For other details visit http://cplusplus.com/





Thank You





Senthil
Reply:http://www.cplusplus.com/


Or you could try searching in a help file that came along with your C++ compiler. Borland C++ has a built in help file for the C++ language.
Reply:For header files this is the site you may look for





http://www.cplusplus.com/ref/#libs





For tutorials in C++





http://www.cplusplus.com/doc/tutorial





i think his serves ur purpose.
Reply:wait i will search for u

deliver flowers

Where can i learn c# and visual C#?

i am a begginer in programming and have no knowledge in programming languages .i have tried many tutorials online also microsofts official videos and tutorials but all of them seem to be for some one who already has learnt c++ or c


if you know a bettr way then answer this question if you answer this question just for points ill delete it

Where can i learn c# and visual C#?
If you are a beginner programmer, I would not recommend any of the C family languaes (C, C++, C#). They are a little too advanced for you. Try learning HTML and javascript first, or Visual Basic before going to C#; this way, you'll have some programming knowledge before you start on the more complex programming languages.
Reply:Go to MSDN and get a copy of Visual C# express


http://msdn.microsoft.com/vstudio/expres...





Then go find a book, some of the Sam's "Teach yourself..." books are a good starting point.
Reply:MSDN at Microsoft.com has a lot of programming info on C# for all skill levels. The best place though would be to get a beginner's book for C#.
Reply:try this link





http://members.tripod.com/~johnt/c.html





just copy and paste this link.
Reply:Take class at the college.
Reply:Maybe this? http://www.cyberdiem.com/vin/learn.html


Sockets in c language?

This is my school assignment and I am NOT asking for the code but I would really appreciate if you people can tell me where can i find good tutorials/lessons regarding the following.





I have to write "an Internet page grabber program in C programming language. so if I specify a URL at command line, my C program connects and downloads a web-page."





I have already done it in JAVA, but it seems like that socket programming is a pain in the neck in C. Please dont send me the exact code, because I want to learn, just tell me the links for tutorials.





Thank you.

Sockets in c language?
I've the same problem with you when moving from Java socket to C socket. It's a bit of the pain, but check the below link, i think it's pretty good tutorial. And yes if you using Linux or Unix, man page is pretty helpful as well.
Reply:go ahead and learn about cscoket library


Is there any online tutorials or book out there for programming a psp with C/C++.?

I want to program a PSP really badly but I don't know where to go. Please don't tell me psp-hacks.com because I have been there and I got banned from the chatroom because I asked too much questions (wtf!). Also don't say psp-programming.com because they barely have any tutorials on psp programming. Also are there any books out there that teach you psp programming?

Is there any online tutorials or book out there for programming a psp with C/C++.?
http://ps2dev.org/psp


Is there any online tutorials or book out there for programming a psp with C/C++?

I want to program a PSP really badly but I don't know where to go. Please don't tell me psp-hacks.com because I have been there and I got banned from the chatroom because I asked too much questions (wtf!). Also don't say psp-programming.com because they barely have any tutorials on psp programming. Also are there any books out there that teach you psp programming?

Is there any online tutorials or book out there for programming a psp with C/C++?
Hacking the PSP (http://www.hackingpsp.com/), PS2Dev (http://www.ps2dev.org/) and QuickJump (http://www.qj.net/) all have information about developing PSP applications. In particular, look at the forums for each of those sites.





There is a version of CodeWarrior adapted for use with the PSP. You may want to look at that for your IDE, though there are other options, as well.





It doesn't look like there are any books about programming for the PSP, only hacking the system itself.





And it's not C/C++ but Adobe (http://www.adobe.com/devnet/devices/psp.... has information about developing Flash applications for PSP, as well.

floral bouquets

Patching jeans: need stitching tutorial for that... anyone help pls? :)?

So I need to patch a lot of jeans - a result of normal wear and tear - and I am urgently needing patch stitches because (sadly enough) I don't know how to sew in a decent matter... if anyone has a link on tutorials (with pictures would be great!!) or something I'd really appreciate it. C'mon ~ make my day! I feel like doing something productive today *hehe* THANKS!!!

Patching jeans: need stitching tutorial for that... anyone help pls? :)?
Take your most worn-out pair of jeans and use it for the patches. Pre-make your patches in the sizes you'll need, allowing about 5/8" overlap. In other words, for a frayed 1-1/2" hole, use a patch a little wider than 2-1/2" in diameter. Sew each patch (by hand, if necessary) beneath the hole so that the grain of the fabric runs the same way on the patch and the garment you're repairing. Use a running stitch about 1/4" from the edge of the patch, and make uniformly small stitches. Once the patch is applied, and working from the outer side of the garment, turn under the edges of the hole, tucking it under as you stitch around the opening. You'll be turning the garment fabric in and under and tacking it with a new round of stitches. Be sure you round off the edges of square or rectangular patches so they won't fold and look bulky beneath the repaired area.





So all you'll need is your jeans (one to be used for patches) a spool of denim-colored thread and a needle, of course. If you want to be whimsical about some of the patches, you can use colored prints instead.
Reply:wal-mart has a sewing beginner book,if that does'nt work, buy some iron on patches.
Reply:Go to any fabric store. They all carry iron-on patches. Cut them to fit, and iron. I would suggest putting them inside the jeans. Why not buy new ones?
Reply:I say patch 'em. I saved my fav levi's by stitching a small sunflower patch over the worn spot. I'm not a sewing expert, but here's what I did: I found the sunflower patch on an old jean jacket in my closet. I carefully snipped it off the jacket, paying close attention to how it was sewn on. Since we're dealing with denim, no surprise, patch was machine-sewn. No problem, I'll just plan on retouching the patch after a handful of wearings. Okay, pin the patch in place, thread your needle, knot your thread and tack it on using the stitch you know. Just keep it tight and even. Note that it will be difficult to pull the needle through some spots- like multiple layers of denim around a back pocket- so use thimble(s) or gardening gloves. Also, run your needle and thread through a bar of soap to make it easier to pull through. Martha Stewart probably has a proper tutorial on her site. I was just so excited to see that someone else was patching their jeans today--Sew Long from Mt. Spokane!


Is there any directx sdk available for Visual C 6.0 ?

i m looking for a directx sdk which contains some samples as well. for visual c 6.0, can u please refer some websites with tutorials for game development ? thanks

Is there any directx sdk available for Visual C 6.0 ?
goto this site http://msdn.microsoft.com/directx/sdk/





btw, sdk is not depend on visual C version


CMD, html, css, and c(++) learning?

CMD controls computer processes, but i don't know any good places to learn it. anyone know? also any good places for html, css, or c(++)? w3schools is great but i wish they had some tutorials in videos, so if they're in video format that would be great. thanks!

CMD, html, css, and c(++) learning?
Here are some good video tutorials for starting to learn C++:





http://xoax.net/


Help With Visual C# Code?

Does anyone know of a good web site or book for individuals learning how to program in Visual C# using the .NET framework? Specifically, I am looking for tutorials that explain classes, methods, and objects. I am a student with no formal programming experience and would greatly appreciate your help - thanks!!!

Help With Visual C# Code?
I also suggest using the code project.





In addition to using the examples on that site there's also a free development environment if it's any help to you.


First download the dot net sdk from Microsofts website and then the IDE from here - http://www.icsharpcode.net/OpenSource/SD...





I've been developing c# desktop apps with this IDE for a few years and I'm very happy with it. If you want some help I'll send you some starter project specs and review your work. Your call, just email me.
Reply:www.codeproject.com is great
Reply:here is a learning VEDIOS for C#, it treats you from begining to be expert.


ENJOY IT.


http://msdn.microsoft.com/vcsharp/progra...

dried flowers

C++ network programming?

ok so iv been learning c++ for a while now and i wanna start learning some network programming iv been looking arund the web a bit and im getting kind of confused with all the diffrent types there seam to be. So first of what is socket programming is it diffrent to network programming are there any other types and what are they all used for and secondly if any1 knows of some good online ebooks and tutorials on network programming/socket programming that use windows and c++ if u could give me a link to them id really appreciate it thanks

C++ network programming?
May you can contact a expert or you also get help %26amp; post your comment at website like


http://homework.feedmelink.com/...
Reply:this is a good place to start.
Reply:Sockets are network programming. Everything needs to go over sockets to get started. If your using a Windows environment, I used the Winsock MSDN reference pages to help, however it's also just as easy on Linux, where sockets are managed as simple file pointers using open() close() read() and write().
Reply:i found usefull ebook for you, download at http://totme.com/categories/ebooks/C_Net...


From Where I download Video Tutorials for various subject of computer science like C, C++, HTML ?

I don't know where you could get videos persay but you can find a lot of good information just on the internet.





www.w3schools.com provides an excellent html tutorial.


C and C++ are a little harder to find mostly because everyone has there own version of C++. (Mostly because everyone created there own libraries like Mircosoft did) which makes it harder to find specific information.





look up "thinking about C" in yahoo or google and there should be a site called that, that could help you.





www.krugle.com also allows you to search for code in various languages giving you resources to draw on.

From Where I download Video Tutorials for various subject of computer science like C, C++, HTML ?
U can refer to the following sites for it:


1-digg.com/videos/educational/20_Video...


2-www.daniweb.com/techtalkforums/threa...


3-videocast.nih.gov/PastEvents.asp?c=1...





or u can try at google videos or youtube.......


BEST OF LUCK!!!
Reply:you can get that from lynda.com


What program should i use with c# to make games like java,directx,etc.?

i've made my mind up im gonna use C# so dont put on here you should use c++ just tell me which ones better with C# Java,DirectX,etc. if theres any others and any tutorials if possible thanks ahead of time.

What program should i use with c# to make games like java,directx,etc.?
Try Microsoft XNA, I believe you can develop games in C#. Go to http://msdn2.microsoft.com/en-us/directx... and check it out.
Reply:You should probably look into exactly what c# and Java are, because that question doesnt make a lot of sense.


Programming serial uart in C?

Can someone direct me to any tutorials or source code for programming a serial port in C. Note NOT C++. I can find loads on C++, Turbo C and VB etc but nothing in C!!


Thanks

Programming serial uart in C?
A few links:


http://electrosofts.com/serial/


http://www.beyondlogic.org/serial/serial...


http://www.yov408.com/html/tutorials.php...


http://msdn2.microsoft.com/en-us/library...


http://www.velocityreviews.com/forums/t3...


http://cygwin.com/ml/cygwin/1999-08/msg0...





Two newsgroups that may help:


alt.comp.lang.learn.c-c++


comp.lang.c
Reply:It depends on your operating system. On Pre-Windows 2000 you can use straight C, but if you're in W2k or newer you will need to use a driver (or write your own with MS DDK)

gift baskets

How do I make a program in C++ using a resource file?

Im fairly new to C++ programming, that is, I am able to program console programs but thats as much as I know. I want to write a win32 app using a resource file. I want to try and make a simple calculator. I used ResEd to make a nice calculator skin, but that is as far as I can go at the moment. How can I use C++ to make a working calculator. I could use some good online tutorials or some personal help. Im also using Dev-C++.

How do I make a program in C++ using a resource file?
I use Dev-C++ and when I started to teach myself Win32 programming, I began with this tutorial:


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





Also helpful was a book I checked out of my local public library:


Windows Game Programming for Dummies


http://www.dummies.com/WileyCDA/DummiesT...





But seriously, that online tutorial is a very good place to start.


How to create GUI using C++?

I use Visual C++. I am a novice in C++. I can easily do procedural programming and use functions. I have not tried object oriented, but I am about to study object oriented programming. Is my knowledge enough to create a GUI? If yes, where can i get online tutorials? Do I need a specific version of Visual C++?

How to create GUI using C++?
Here's a video tutorial using GLUT.





http://xoax.net/comp/cpp/opengl/index.ph...





There are several different options, depending on the applications that you want to develop.





Here is a video tutorial on making a simple MFC application:





http://xoax.net/comp/cpp/mfc/Lesson1.php





To do MFC, you will need the Standard Edition or higher of Visual C++. Express Edition do not carry MFC.
Reply:You're probably going to want to learn openGL. openGL is a graphics library and can be used to create 3D graphics as can directX (openGL is easier).


Where can I go to learn to make a game in c++?

I want to know where i can learn tutorials for making games for free in the c++ language.


remember i choose best answers.

Where can I go to learn to make a game in c++?
gamedev.net , you may also contact a gaming expert at websites like http://askexpert.info/
Reply:If you have no programming experience at all, you are not going to start making games. It takes years to do this stuff. My answer would be to take a some courses. Or by a book and install visual studio as a compiler.
Reply:gamedev.net has many resources, and a forum dedicated to beginners. they are quite helpful.


Where can I go to learn to make a game in c++?

I want to know where i can learn tutorials for making games for free in the c++ language.


remember i choose best answers.

Where can I go to learn to make a game in c++?
http://www.gamedev.net





www.cppgames.com
Reply:May be you can contact a gaming expert. Check websites like http://oktutorial.com/

wedding

How the future wil be for C,C++,WINSOCK2,WIN32 for developers?

this is Kiran from india,iam engineering graduate streamed in Computersciences.


i would like to mould career through C++ programming,winsock,win32 API ,


i dont know java.


can you suggest how to go forward for WIN32 programming and where i can find the online tutorials exactly and how the future will be for C,C++,WINSOCK2,WIN32 API





i hope i will get the suggestions from you.

How the future wil be for C,C++,WINSOCK2,WIN32 for developers?
honestly, I don't have much experience in winsock2, winn32, etc., but I've studied VB, C++, Java and some other languages for 2 years. In US, I guess the most common languages these days are VB, Java, and actionscript. That doesn't mean the other languages are extinct though.





I have a friend working as software engineer, he said that most of the time they use Java. VB seems to advance real fast these days. So my suggestion is you learn VB or Java if possible. You should do research on what language best fit your career.


What is the best Microsoft Visual Basic 2005 tutorial that is free and available online?

I'm currently doing my internship and i need to brush up on my C#, so does anyone know where i can find free tutorials for Visual Studio 2005? ASP.NET 2.0 btw.. Cheers..

What is the best Microsoft Visual Basic 2005 tutorial that is free and available online?
i dunno about tutorials... i know of a few sites to get really good eBooks...


How to do Differentiation in C programming language ??

I am looking for some tool, library or tutorials that would help me do differentiation in C or any other programming language.

How to do Differentiation in C programming language ??
usually differentiation includes variables...





so, it needs computation in variables...(not calculation)





but c language is mainly calculation...(using values assigned to variables)...





it is an NP complete problem to create a program which computes differentiation or integration of inputs...


I wanna know somthing regarding inputs in a c++ program. (c details)?

how can i use a javascript page(form fillup option)


to take data into a c++ program?





like.. i wanna maintain a database on c++... i just wanted to know how can i get the input through a nice user friendly (javascript/html)page.. just like filling a form!





i hav'nt done a lot of javascript... but i know c++ very well n i'll just get the tutorials for javascript. So just tell me is it possible to save the input from a FORM on a different file (text/dat format) from where i cud take the information using file handling(c++)??

I wanna know somthing regarding inputs in a c++ program. (c details)?
I guess best option is put your program in the CGI-BIN dir in Apache and post the information to this CGI program (which you can write en C++). The drawback is you need to start apache to have this working, even if you have both programs on same machine.





Another option is write a plugin, but this is browser dependant. You'll need to write an activex control if using IExplorer or a XPCom object if using Mozilla Firefox. With both you can directly get information from the DOM of your web page (though the API is quite different between MS and Mozilla option).
Reply:this is not what i was actually looking for!


anyway thanks for writing! Report It

Reply:Its much easier to use a server based language like php. It is very hard to connect directly to C++. You would have to create a full system that parses the header files and can get post and get data from the javascript or use AJAX techniques but I STRONGYLY recommend you just get a book on php and mysql which are actually easier and faster then C++ in a web environment.

flowers on line

Any tutorials on how to do The O.C posters on photoshop pleas?

pleas tell me a site that teaches how to do the posters and the picturs from the mixes pleas...!!!

Any tutorials on how to do The O.C posters on photoshop pleas?
http://www.youtube.com/watch?v=RDPWJvJwA...





just apply it to the OC