How do you stop being a newbie poster? Dod you just use reputation points, are is it just how much you post? Because I dont have many problems, so I dont post as much, but I do answer. I also spend alot of time chatting with people like Dani.

Member Avatar
Member Avatar
+0 forum 1

I am looking for a noob friendly C++ IDE for mac computers. I'm looking something similar to microsoft visual studio. I have tried xcode, but it appears to be missing some of the basic cpp. and h. files like stdafx.

Member Avatar
Member Avatar
+0 forum 5

I am interested in using the webgl-globe tool which I have downloaded [Here](https://github.com/dataarts/webgl-globe). I have basic experience using CSS and HTML but I am unsure of which files from the repository are necessary for using the platform and how they should be included into one webpage as each folder seems to contain its own index.html file. Any resources/tutorials on how to do this type of thing would be much appreciated.

Member Avatar
Member Avatar
+0 forum 1

I have this code, it's basically a program which I wrote, a 'Guess my number' game. The only problem is that I did something, and now I can't choose from my options anything else, that the first option. I put all my conditions in the while True loops, and now it won't let me choose anything else, just the first thing from the while. The same thing goes for the end of one level, meaning at the question "Redo", even thou I put the No answer it won't break, it will still get the first instruction to run, meaning the …

Member Avatar
Member Avatar
+0 forum 1

I have a problem calling up my compturn() function. Here is my code: [CODE]import random def compturn(): print 'Computer turn:' comp = str(random.randint(1, 9)) if comp == a: compturn() elif comp == b: compturn() elif comp == c: compturn() elif comp == d: compturn() elif comp == e: compturn() elif comp == f: compturn() elif comp == g: compturn() elif comp == h: compturn() elif comp == i: compturn() else: board = board.replace(str(comp), "O") print board print """ I have yet to make a device that tells you if you win but enjoy!""" board = """ 1 | 2 | …

Member Avatar
Member Avatar
+0 forum 1

Working on a simple banking program and it doesn't compile. Worked perfectly when everything was in main, then i was told to divide into methods( where everything went wrong ). The errors im getting are: C:\Users\DJ3\Desktop\School\Minilab5.java:30: illegal start of expression } ^ C:\Users\DJ3\Desktop\School\Minilab5.java:67: illegal start of type switch (userChoice) ^ C:\Users\DJ3\Desktop\School\Minilab5.java:67: <identifier> expected switch (userChoice) ^ C:\Users\DJ3\Desktop\School\Minilab5.java:69: orphaned case case 1: ^ 4 errors Process completed. [CODE]import java.util.Scanner; public class Minilab5 { public static void main (String[] args) { Minilab5 banker = new Minilab5 (); banker.dispatcher (); } void dispatcher () { Scanner in = new Scanner(System.in); int userChoice; boolean …

Member Avatar
Member Avatar
+0 forum 25

I have been stuck on this program for MANY DAYS and I really need help. I am a total NOOB! I don't know what more to do. I am far too confused. THIS IS WHAT MY PROGRAM SHOULD OUTPUT: Play the game of Precaution. Try and create as many unique words as you can using only the letters in the word 'precaution' where each letter is used at most once. Words must be at least 3 characters long. Type in the word 'exit' to exit the program. Guess a word using the letters in "precaution": caution That is word # …

Member Avatar
Member Avatar
+0 forum 3

I've been on here for a few weeks now and I [B]JUST[/B] found this CI forum, so let me apologize for the late start, "been too busy on Python". I'm a college student, but not in an IT field. Actually I've switched majors so many times it's ridiculous, Elementary Education, Criminal Justice, Social Work, Christian Ministry. I guess I just honestly don't know what I want to sit down and listen to crap about for four years. But I do love programming, I started a long time ago and then got annoyed by while loops and just put off picking …

Member Avatar
Member Avatar
+1 forum 1

Hello DaniWeb :) For very long I've wanted to develop and venture into the Win32 API and make programs like I find on the internet. Show the world my creativity. I made a simple calculator with a GUI and Menu bar from scratch. I was proud but I was shattered when I found out that, to redistribute it and show my friends, I had to get them to download .NET framework... I have Visual Studio 2010 and I've been struggling to disable the use of .NET. Even when I start from scratch for some wierd reason the program's I create …

Member Avatar
Member Avatar
+0 forum 2

I'm doing the google code U python class and came across a problem trying the following problem, which is the commented out region, the solution needs to be a function. I'm on the second part and trying to find a way to count the values which meet the requirement,i[0:2]==i[-2:]. I running Python 3.2 [CODE]# A. match_ends # Given a list of strings, return the count of the number of # strings where the string length is 2 or more and the first # and last chars of the string are the same. # Note: python does not have a ++ …

Member Avatar
Member Avatar
+0 forum 5

I got this snippet out of my text book but it's giving me a type error, I'll just give you the whole code, tell me if you get it too, if you would. [CODE]import urllib.request import math whips=int(0) rate=float(4) while rate <= float(20): improve= rate*float(.15)+rate rate= improve whips=whips+1 print(whips) def send_to_twitter(): msg = whips password_manager = urllib.request.HTTPPasswordMgr() password_manager.add_password("Twitter API","http://twitter.com/statuses", "jcbamm26", "~~~~~~~") http_handler = urllib.request.HTTPBasicAuthHandler(password_manager) page_opener = urllib.request.build_opener(http_handler) urllib.request.install_opener(page_opener) params = urllib.parse.urlencode( {'status': msg} ) resp = urllib.request.urlopen('http://twitter.com/statuses/update.json', params) resp.read() send_to_twitter() [/CODE] the error return is[CODE]Traceback (most recent call last): File "C:\Python32\AB3.py", line 21, in <module> send_to_twitter() File "C:\Python32\AB3.py", line 19, …

Member Avatar
Member Avatar
+0 forum 9

I am just learning python. I am switching from visual basic so this is a bit new to me. I am trying to write a loop for a super small script. It is below I am trying to understand the def f() how to loop that short code over and over until it hits an obstacle. I understand this is UBER NOOB stuff but I have been looking on google for like an hour and on here for a while but still dont understand the def f(). I saw tons of examples of it used for other purposes but didn't …

Member Avatar
Member Avatar
+0 forum 2

I am learning about networking in C# and to do so i am making a simple instant message server/client app. everything is going fine. i am currently testing it by inputting my own ip address as the target to send/receive on same machine. but, i can only send one message then nothing. when i finally give up and exit the app(running it from vstudio) it gives this error: [ICODE]System.InvalidOperationException was unhandled Message=Invoke or BeginInvoke cannot be called on a control until the window handle has been created. Source=System.Windows.Forms StackTrace: at System.Windows.Forms.Control.WaitForWaitHandle(WaitHandle waitHandle) at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean …

Member Avatar
Member Avatar
+0 forum 3

[CODE]#created by Jaron Graveley #April 26th, 2011 #This program completes reservations for Jon Von Poechman’s airline in an easy to use program #variable list: #i=counter used to limit the number of seats present on the diagram #n= counter to display the row number on the diagram #num_booked=counts the number of booked seats so the program stops #m=counter used to seperate the rows in the plane #r=row counter #p=position counter #plane=list of seats on the plane showing taken and empty seats #plane_name=same list as plane except it shows names for management use only #seat=shows the letter o for an open seat …

Member Avatar
Member Avatar
+0 forum 2

I promise I read the Read This First post and also searched for relevant threads, but I didn't have any luck. I'm taking my first C++ class, and the instructor hasn't been much help when it comes to fundamental things like what compiler we should use, where to get it, how to use it, etc., so I'm on my own. I tried downloading the xcode package, but I kept being redirected to Apple where I was told I needed to log in and be a Registered Apple Developer. Now I'm trying to download GCC. I've gone to the GNU mirror …

Member Avatar
Member Avatar
+0 forum 7

So I'm trying to make my own version of Pokemon simulator and this is what i have so far.. [CODE] /* Pokemon.cpp */ #include <iostream> #include <vector> using namespace std; void battle( int enemyHealth, int Health, int enemyAttack, int Attack, vector <string> &att, vector <string> &enmAtt ); int main() { cout << "Pikachu! I choose you!" << endl; int enemyHealth = 100; int Health = 100; int enemyAttack; int Attack; vector <string> att(4);//your attacks att[0] = "ThunderShock"; att[1] = "ThunderWave"; att[2] = "Agility"; att[3] = "Quick Attack"; cout << endl; cout << "Your attacks:" << endl; cout << endl; //output …

Member Avatar
Member Avatar
+0 forum 2

...so I'm trying to make a program that takes in the three sides of a triangle and then decides whether the triangle is equilateral, isosceles or equilateral. I have to have 2 different functions and I can't use global variables ( That's what my teacher wants ). My main function keeps looping which is not what i want my program to do. I couldn't find what im doing wrong. Any help is appreciated. P.S. I don't use dev C++ anymore. I've started using Code::Blocks. Here's my code- [CODE] #include <cstdlib> #include <iostream> using namespace std; int calculations(); int main(){ int …

Member Avatar
Member Avatar
+0 forum 5

I have yet to write a single line of code. I am just finishing the "pencil and paper" part of the layout design. [URL="https://docs.google.com/drawings/pub?id=11GrWyVrG6J0PSMY_GF8n6M97Hy45kwNAJQSZYz-VxxQ&w=960&h=720"]https://docs.google.com/drawings/pub?id=11GrWyVrG6J0PSMY_GF8n6M97Hy45kwNAJQSZYz-VxxQ&w=960&h=720[/URL] Here is my rant/explanation of what I want to do with the website [URL="https://docs.google.com/document/pub?id=150QSF4NfDuj5sGh35OgsGyv1VvRxWSeRKlDnozJ54P0"]https://docs.google.com/document/pub?id=150QSF4NfDuj5sGh35OgsGyv1VvRxWSeRKlDnozJ54P0[/URL] I am only beginning to learn CSS. Do you think the whole thing is doable in Microsoft Expression Web? What other tool(s) will I need for this website? I appreciate all the criticism and suggestions I can get. This is my first post but if you see gaping mistakes, please feel free to yell at me.

Member Avatar
Member Avatar
+0 forum 6

I'm trying to make a program that tells you how much of each type of bill or coin you will receive as change after you enter the total amount of goods you are buying and the amount you are paying with. But my program takes in the total amount of goods and the amount you are paying with and then it stops. Here's my program - [CODE=C++] /* Change.cpp */ #include <cstdlib> #include <iostream> using namespace std; int main() { double tot = 0; double cash = 0; double change = 0; int hundreds = 0; // number of $100 …

Member Avatar
Member Avatar
+0 forum 5

Ok so I have been trying to do project euler problem 1 which finding the sum of all the multiples of 3 and 5 that are less than a thousand. i dont know why my program is not working. here's my program - [code=c++] #include <cstdlib> #include <iostream> using namespace std; int main(int argc, char *argv[]) { int multiplier3 = 1; // multiplier of 3 int multiplier5 = 1;//multiplier of 5 int mult3 = 0; // multiple of 3 int ans3 = 0; // sum of multiples of 3 int mult5 = 0;//multiple of 5 int ans5 = 0;// sum …

Member Avatar
Member Avatar
+0 forum 1

Ok so i have to write a program called hailstone numbers. Its basically asking the user to enter a number and if its even divide it by 2, if its odd multiply it by 3 and add 1 and then output the number of iterations. I made my program but I have a problem. The series keeps going and doesn't stop. Here's my program - [code=c] #include <cstdlib> #include <iostream> using namespace std; int main(int argc, char *argv[]) { int number = 0; int numIterations = 0;// number of iterations taken to reach 1 cout << "Enter a number:" << …

Member Avatar
Member Avatar
+0 forum 4

HI All, My name is s0ur and I am not a programmer. Isn't that the first step to recovery? I am hoping that the experts can help a noob. I am trying to write a python script that will run on windows login. it should do the following: 1) ping IP address 2) analyze response 3a) if true (there is a response) run another command and wait 300 sec. 3b) if no response wait 300 sec. 4) repeat until log out. It sounds simple when I write it like that but when I try to write it in python - …

Member Avatar
Member Avatar
+0 forum 3

I found this site through google. From what I've seen of the community here and browsing through the site pre-registration. Everything looks good, helpful and informative as I was hoping it would be. My names William (not to hard to tell from my username...lol), I currently do some freelnace gfx. I started an online degree course through University of Pheonix with an associate degree in IT. Was never able to finish it so I'm more lost now than I was before on understanding web design and coding a little better. Tho I am familiar with html, but not completely, and …

Member Avatar
Member Avatar
+0 forum 6

just an idea ...im not a programmer yet starting college aug. c++ and java both have complex syntax and i cant learn on my own, python is good but not supported aswell and basic is really basic any more thanks to object oriented stuff English the programming and scripting language files are organized as books -table of contents - quick access to chapters (organizational purpose) -intruduction - contains licenses,code developers and other non esential data -code -chapters - contains different aspects of the program physics,3d,sound,input etc. -paragraphs - block of code -sentences - contain specific code -bibliography - linked libraries …

Member Avatar
Member Avatar
+0 forum 15

I'm CLStew32559, I somewhere inbetween in my computer knowledge. Smart enough to fix easy stuff but too dumb to deak with the complex stuff. I'm from Northern California and I'm still trying to find my way around the it world. Any help out here would be deeply appreciated. CLStew32559

Member Avatar
Member Avatar
+0 forum 2

> Specification: Display a menu > Find Errors in this program #include "stdafx.h" #include <iostream> //change io to iostream #include <string> using namespace std; // added I get the `Error 1 error C2065: 'choice' : undeclared identifier line 17 which is 'choice'` What am i missing? int main ()// added int { //reversed this symbol cout << "Choose From Martha's Menu:\n"; //reversed << cout << "1 - Dinner"; // added ; cout << endl << " 2 - Lunch"; //correct endl and added ; cout << endl << "3 - Breakfast"; //corrected endl and added ; cout << "Enter a …

Member Avatar
Member Avatar
+0 forum 2

Hello I am working on a project for my roommate that involves reading in a text file that has x's and o's. The x's mean a wall and the o's mean an open path. The maze begins at 0,0 and ends at 15, 15. This makes the graph 15x15. I was thinking about using Breadth-First Search to accomplish this as I am looking for the SHORTEST PATH to the end. I have been working on this for 10 hours today and can't think of a way to translate the path into a visible format. [CODE]Soxxxxooooooxxxx oooooooooooxoxxo xooooooxxxxoooox xoxxxoxoooooooox xxxoooxoooxxxxox ooooxxxxoooxooox …

Member Avatar
Member Avatar
+0 forum 5

Hi all and thanks for reading this.. Well i am back with another problem. so it seems i am mostly taking from this site at the moment, although i do see a big donate sign at the top !!! Ah ha ! Anyway here is my question... Please could anybody quickly visit this site i am creating for a friend and doubling up as a beginner project. [URL="http://www.devondesigns.co.uk/"]http://www.devondesigns.co.uk/[/URL] my main issue coomes from me somehow losing my positioning control over the header image when you visit the contact.php page... If i wrap the head and form in a container class …

Member Avatar
Member Avatar
+0 forum 1

I'm a complete and utter noob to VB so I sorta bit off more than I could chew with this little project. I'm not so sure how to create a calendar. But I have sort of designed it already. I'm planning on making the layout with labels and maybe tooltip the info stored on the date pointed at. It sounds like a terrible design but I actually know very little about this PL. I'm more of a Turbo C kind and very new to VB and VFP. Hope I dun get killed by postying this though. ^^' Please be gentle …

Member Avatar
Member Avatar
+0 forum 4

Hi. I am complete beginner in databases, so please bear with me stupid questions. I am just doing for fun a simple exercise. A faculty have students and each student have different subjects. My question is, how to store the different subjects in the db? I could make up some elaborate system like a field subjects and insert the different subjects id's this student has, separating them with "|"s. Even though my knowledge in db is terrible limited, this seems to me like a very programming oriented approach. Is this the right way to go about it? If not, what …

Member Avatar
Member Avatar
+0 forum 3

The End.