String vs Int
I am about to create a contactBook the phone number should be String or Int? (i think String )
View ArticleFind end of a print line
I have a program that prints prime numbers from 0 to 200 where each number is separated by a comma and a space so that it looks like 2, 3, 5, 7, 11, etc. This is the code i have which works perfectly...
View ArticleMaking a counter for every 5 increments.
Okay, I'm currently making a game, and the player has a level, and skills. What I want is for every 5 levels that the player gains, he gains a talent point that will effect one of his skills. Now I...
View Article[QUESTION] Application Programming Interface
How can I fully understand API? Declarations, Types and Constants. How to use it, how to play with it. Thanks a lot.
View ArticleHow to use VBScript in application?
Okay so my problem is that I don't realy know how to use the VBScript engine in my project. So far I this is what I have done. Imports System.IO Imports MSScriptControl Public Class Form1 Dim...
View ArticleInstalling a compiler
I currently have my compiler working for java and c# which I learned and I am currently starting c++ (I am a student learning about programming), but from the research ive done, I am not sure if c++...
View Article[Req.] How you learned Programming?
I am not coming from tech studies, But i like to learn some programming language. i would like to know how you use programming language? How you learn codes?should i memorize them? what was your plan...
View ArticleQuestion With Switch Statements
Hello, so for my project i'm using a switch statement to return int values. So like so... switch(x) { case 1: return 1; case 2: return 3; default: return 9; } How me code works is it sets a value for x...
View ArticleMobile development, transforming web-site questions
I am launching a new holiday discussion website. Mobile usage is going to be very important part of the site but I am in a bit of a dilemma. I have 15 years experience with web design, but nothing with...
View Articlegame scoring
I am working on game scoring for a breakout game. I am able to write 100 to the screen but then I want to erase the old score and put 200 on the screen and so on. here is the code I am using. void...
View ArticleCatch a whole sentence in a string
Hey y'all so I've searched around and cant seem to find anything recent pertaining to my problem and how to fix it, at least in layman's terms that helps me any bit at all. I'm trying to catch a whole...
View ArticleC++ conflicts in my program.
Hi I'm fairly new to C++ programming and I'm having trouble trying to understand the error messages I'm receiving. These are the errors expected expression on the line that says "return true;" and...
View ArticleC++ conflicts in my program.
Hi I'm fairly new to C++ programming and I'm having trouble trying to understand the error messages I'm receiving. These are the errors expected expression on the line that says "return true;" and...
View ArticleRunning programs from within a program
Hey guys I'm curious how running programs within a program works. For example there was an app called SleepyTabber developed a while ago that does this. Here's a picture of it:...
View ArticleReading ID3V2 Tags in C language
Hello everyone, I am a beginner in programming and I have an assignment from my university to wright a code in C for reading mp3 files in ID3V2 format. I have searched the web and tried to put together...
View ArticleNew in Java asking for help in project
hi guys as you can probably tell im new here. and i really need help with a homework that i have for my class. For starters I'm new in programming, so i dont really know much, and im taking java as my...
View ArticleData Type mismatch in criteria
hello all, i got error at update code, while i click update, i got error at data type mismatch incriteria,, i know the error at ([S/N] = '" & S_NTextBox.Text & "')" here but i dont know what i...
View ArticleProblem Print Distinct Number
Hi I'm having a problem printing the distinct numbers. after i enter 10 numbers it won't print the distinct numbers instead, it would exit the program right away.Here is my code. [import...
View ArticleQuickSort - Stack Overflow when keys are not randomized
Hi all! I have an interesting problem. For my current algorithms class, we are to implement 4 different quicksort algorithms. The quicksorts differ in where the pivot is selected from. The 4 functions...
View ArticleBinary Search Tree error, homework question
Okay, first off, I am really bad at programming, but I am seeming to muddle through things. I am constructing a Binary Tree class but Eclipse is telling me that "root cannot be resolved". Root is the...
View Article