Re: Help with functions - basics Programming by jkon It seems that the issue has nothing to do with C++ or with functions. If you are new to programming why not try some tutorials in an easy accessible language (like JavaScript for example) and when you understand a few basics ( like null , functions , variables , loops , conditions ) move to a C++ tutorial for beginners ? beginners Programming Software Development by peeta hello again i have mac computer and i have xcode on it. i am looking for some use full beginners books or tutorials. Right from start i have no previous knowledge of c++. can any one suggests any book for site for beginners which specially deal with g++ and xcode. thankyou Re: Beginners Programming Web Development by harsh9 …www.microsoftvirtualacademy.com/training-courses/c-fundamentals-development-for-absolute-beginners 2) http://www.microsoftvirtualacademy.com/training-courses/html5-css3-…fundamentals-development-for-absolute-beginners 3) http://www.microsoftvirtualacademy.com/training-courses/applying-alm-… Re: Beginners Programming Web Development by JorgeM If you are starting off with asp.net, I suggest you visit the asp.net web site and also pick up a beginners book. I recommend apress books. Re: beginners Programming Software Development by Narue The documentation will be your best bet for learning your particular implementation. For learning C++, you would be wise to stick to books that follow the standard language closely. "Accelerated C++" is a good choice. Re: beginners Programming Software Development by Ancient Dragon Read the [b]Read Me[/b] threads at the beginning of this board because they contain a wealth of information about books, compilers and other related resources. Re: beginners Programming Software Development by peeta thanks for advice i tried very basic program with Xcode which is like this [code] #include "hello5.h" #include "iostream" using namespace std; int main1() { cout <<"welcome"; return 0; } [/code] build is successful but when i "Run" it opens only a blank screen without displaying welcome … Re: beginners Programming Software Development by <1337>Me</1337> You don't need #include "hello5.h" do you? Re: beginners Programming Software Development by ShawnCplus [inlinecode]int main1()[/inlinecode] should be [inlinecode]int main()[/inlinecode] but as the poster above me stated that particular include file is not necessary. Also, [inlinecode]#include "iostream"[/inlinecode] should be [inlinecode]#include <iostream>[/inlinecode] Quotes are generally used to reference headers that require an … Re: beginners Programming Software Development by peeta now i remove #include"hello5.h" and i change to #include<iostream> still same blank screen. As shawn suggested when i change int main1() to int main() this error message it giving thats why i changed to to int main1() before to bypass. error message is Line Location Tool:0: Command /Developer/usr/bin/g++-4.0 failed with exit … Re: beginners Programming Software Development by Ancient Dragon >>Quotes are generally used to reference headers that require an absolute path or headers in your project Most (but not all) compilers use angle brackets to reference header files that are in the compiler's known directories, such as the compiler's include directory and double quotes are used to reference all other header files, such as … Re: beginners Programming Software Development by Ancient Dragon >>duplicate symbol _main you are getting a blank sceen because there were compile errors. You can not execute the program until after your compiler produces 0 errors and links successfully. If you get that error message then you are not posting your entire program. You can have only one [b]main()[/b] function in a program -- actually … Re: beginners Programming Software Development by peeta thanx for quick response dragon this what i did when i opened new project. after clicking on "new project" i selected "carbon c++ standard application" and name the project. [i tired it with carbon c++ application too} then and open new file and selected "C++ file" from assistant window and wrote that program. [ i … Re: beginners Programming Software Development by peeta compile was successful with 0 errors Re: beginners Programming Software Development by Ancient Dragon [QUOTE=peeta;496193]compile was successful with 0 errors[/QUOTE] Great going! :) Now you should see the correct output on the screen. Re: beginners Programming Software Development by peeta i know it is so frustrating. but i am having same damn blank screen even after Build was successful and compile errors 0 [i am feeling dumb] Re: beginners Programming Software Development by Ancient Dragon >>i am feeling dumb Don't feel too bad -- we all go through that learning curve. Please post your most recent code. You probably need to add a line at the bottom of main() just before return to make it wait for you to see the output. [code] int main() { ... cin.get(); // get key return 0; } [/code] Re: beginners Programming Software Development by peeta this is the recent code i am trying to "Run" #include <iostream> using namespace std; int main() { cout <<"welcome"; return 0; } But with same error message about "int main()" This is code with successful Build and 0 error messages #include <iostream> using namespace std; int mainfunction() { … Re: beginners Programming Software Development by Comrade Ogilvy int main() is the correct entry point. >duplicate symbol _main in... You probably just need to clean your build (remove all those object files ie *.o - look for or create a 'clean' rule in your makefile if using one or a 'clean' option in whatever ide you're using) and then rebuild - your linker is possibly just getting confused with an … Re: beginners Programming Software Development by peeta Thanx Comrade i did tried as u suggested clean the build and build again. i am getting following error message Line Location Tool:0: Command /Developer/usr/bin/g++-4.0 failed with exit code 1 Line Location Tool:0: duplicate symbol _main in /Users/harpreetsingh/hello1/build/hello1.build/Release/hello1.build/Objects-normal/ppc/firstprogram.o … Re: beginners Programming Software Development by n.aggel as Comrade Ogilvy said :: [inlinecode]int main(void)[/inlinecode] is the correct entry point. I don't know the ide you are using but from the output you posted it seems that you have 2 object files {firstprogram.o and main.o} which i guess that derive from 2 source files {firstprogram.c and main.c}... and in both source files you have a main … Re: beginners Programming Software Development by peeta Thanks Nicolas It really helped and lead me to fix the problem. Now everything is working fine. I was creating project at wrong place. it was like 1st grade kid try to work with post graduate books. Now i move to command line utility and it worked. Thanks everyone who took time to help me. Re: what difficulties most of the beginners in c++ programming student face i g Programming Software Development by mike_2000_17 … hackish tricks, bad coding practices, lack of scalability, etc.). Beginners won't be able to detect bad code, because they… After a few years here (at Daniweb), interacting with beginners facing problems on a daily basis, I have honed some… are important to focus on, and how to steer beginners in the right direction. Learning this takes time, and… what difficulties most of the beginners in c++ programming student face i g Programming Software Development by fahadmunir32 what difficulties most of the beginners in c++ programming student face i guess logic building ** i …have a blog about c++ programming for beginners on which i try to things the as simple as… So My Can Be More Beneficial For C++ Beginners Its My Blog [C++ Programming For Beginners](http://www.fahad-cprogramming.blogspot.com) Which Php 7 Tutorials Do You Recommend To Complete Beginners ? Programming Web Development by UI …Not sure if these books are any good for complete beginners: Free Books https://www.eduonix.com/courses/Web-Development…Where-Can-I-Find-Best-PHP-7-Tutorials-For-Complete-Beginners/27841/ http://findnerd.com/account/#url=/list/view/Best…-PHP-7-Tutorials-For-Complete-Beginners/27864/ If you want to get an idea why… Re: what difficulties most of the beginners in c++ programming student face i g Programming Software Development by deceptikon … you're dumbing things down to the point of misleading beginners. No offense intended, but after a quick reading of that… Projects for non-beginners Programming Software Development by lllllIllIlllI … python? We have a lovely thread in the Projects for Beginners, but in some ways i have always thought it would… nice to find out some ideas of projects for non-beginners who could maybe spent a week or more on an… Re: Projects for non-beginners Programming Software Development by scru … python? We have a lovely thread in the Projects for Beginners, but in some ways i have always thought it would… nice to find out some ideas of projects for non-beginners who could maybe spent a week or more on an… A simple web page for beginners in html Digital Media UI / UX Design by rajesanthu [COLOR="Red"][B]SIMPLE HTML PROGRAM FOR BEGINNERS[/B][/COLOR] [COLOR="Green"][B]NB:Excuse me …experts,,this is for beginners[/B][/COLOR] 1.Copy the file 2.paste it in… OSPF Simulation Tutorial for Beginners (Interactive, Visual) Hardware and Software Networking by vl1111 OSPF is a complex protocol. To help beginners grasp abstract its concepts, a different approach is taken -- Visualizing …. External links for interactive OSPF simulations: 1. OSPF simulation for beginners (This article): [URL="http://www.visualland.net/view.php…