Hi everyone! I'm new to visual basic and i have been using it shortly. I need a code which will help me compile an exe file based on some arguments or with the help of another VB file. Thank you.

Member Avatar
Member Avatar
+0 forum 12

Hello, My whole life I've wanted to make a video game. I've been influenced by notable programmers; Shigeru Miamoto and Tetsuya Nomura. I'd like to learn how to do C++ programming so I can make a game. I'm only a freshman in high school, so you can imagine, I don't want to wait until college. Here's my problem, the only thing I know about programming a game, is what makes a good game. So, having no experience, where do I start?

Member Avatar
Member Avatar
+0 forum 4

Is it a good programming practice to not use getters and setters in trivial parts of code?

Member Avatar
Member Avatar
+0 forum 7

hello guys , i want to make an application that will close the bleutooth of wp7 mobile how to write code for this which library file are required for this please help me regarding this it is serious please.................. m waiting

Member Avatar
+0 forum 0

[B]Hi, Could someone tell me where to find a good tutorials on pygame 1.9.1 for beginner thanks[/B]

Member Avatar
Member Avatar
+0 forum 1

Hi all, I was wondering if someone could help me with this bit of coding. I have set two veriables d1 and d2 to pick a random int of 1 to 10: which I need for in loop but when I run it the same number appear How do I get a differnt verity of numbers during for in loop in Python 3.1.3 please... Thanks for your time. [CODE]# generate random number a certian number of times import random # set vers d1= random.randint(1 ,10) d2= random.randint(1,10) # now print different number 10 times for count in range(1,11): print (d1,d2) …

Member Avatar
Member Avatar
+0 forum 2

I am trying to center a simple navigation menu (horizontal). this is my script so far: [code] <head> <title>Home</title><link rel="menu" href="menu.css" type="text/css" /> <style type="text/css"> body {background-image:url('backg.jpg');} .center body{ text-align:center; /*centers for IE5*/ #menu_box{ text-align:center; /*overrides the centering from above*/ width:675px; /*5 menu items at 135px width (8px padding + 2px border + 125px width)*/ margin:0 auto; /*centers in compliant browsers*/ ul{ list-style:none; margin:0; padding:100; } li { float:left; } a:link,a:visited { display:block; display:circle; width:120px; font-weight:bold; color:#ffffff; background-color:33ff33; text-alaign:center; padding:10px; } a:hover,a:active{ background-color:#ff6633; } } </style> </head> <body> <center> <img src="banner.jpg" alt="banner" width="800px" height="150px"/> </center> <span style="cursor:pointer"> <center> <div id=menu> …

Member Avatar
Member Avatar
+0 forum 11

The program runs but only switches the player once [CODE]#include <iostream> #include <string> #include <cmath> #include <ctime> #include <cstdlib> using namespace std; class TicTacToe{ public: TicTacToe(void);//constructor void playOneGame(void);//member function void switchPlayer(char &);//member function void showBoard(void);// member function void postMove(int, int, char);// member function char determineWinner(void);// member function private: char Board[3][3]; }; int main(void){ //test the class by playing one game TicTacToe Game1; Game1.playOneGame(); } void TicTacToe::playOneGame(void){ //start a game and play until someone wins or a draw occurs const int MaxMoves = 9; char currentPlayer = 'O'; int row = 0; int column = 0; char Winner = ' '; …

Member Avatar
Member Avatar
+0 forum 4

Hello everyone i'm new to this kind of things plz help me to solve this , if anyone can post the c/c++ code also i shall be thankfull to you :) An eccentric doctor visits his patients in order of decreasing age. Patients entering the waiting list specify not only their names but also their ages. Each time the doctor wants to visit a patient, the oldest is selected and removed from the list (so children may have to wait a very long time). Write a program, based on elementary sorting techniques to sort this list on first on Age …

Member Avatar
Member Avatar
-1 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

Hello, I am trying to create an IRC server. The thing is that I dont want this server to run on "localhost", I want to connect this server to other upstream IRC servers. I dont know how to do that. I.E. I want this server to connect to smth.hostname.com on port 9997 and get information from it. Please help!!! [CODE] public class Server { public static void main(String[] arg) { new Server(60656); } private ServerSocket serverSocket; Server(int port) { try { serverSocket = new ServerSocket(port); System.out.println("Server waiting for client on port " + serverSocket.getLocalPort()); while(true) { Socket socket = serverSocket.accept(); …

Member Avatar
Member Avatar
+0 forum 1

I really need help with this...i'm trying to make a game that where user guesses a word and it tells the user 1: the right number of letter in the right place 2: the number of letter that is right in the wrong place but when i test it out, when the secret word is myrrh my guess: yrmhr it will say : 3 correct letter(s) in the wrong place 0 correct letter(s) in the correct place (which is wrong) ======Heres the code===== [CODE] import randomWord def replaceAt(string, index, character): return string[:index] + character + string[index+1:] def getSecretWord(): wordLength = …

Member Avatar
Member Avatar
+0 forum 19

Hi guys!! I made a simple RPG where the player can move along the x and y coordinates, choose a class and meet opponents. I accept any suggestions on how to improve game. [ATTACH]17738[/ATTACH]

Member Avatar
+0 forum 0

Hi :$

Member Avatar
Member Avatar
+0 forum 4

Hello, I am new to this site and to C++. I have been following a tutorial on how to make a Tetris clone in SDL and C++ from the following site : [URL="http://www.aaroncox.net/tutorials/arcade/FallingBlocks.html"]http://www.aaroncox.net/tutorials/arcade/FallingBlocks.html[/URL] When i was finished going through it all and sorting through all the petty errors I had gotten it ran smoothly, or so I thought. Everything compiles and the window pops up and the text is shown. All of input works, and you can even get the game over message if you wait long enough. but other then the text, nothing is visible, such as the blocks …

Member Avatar
Member Avatar
+0 forum 3

I know they say don't say please... or plead...but I'm sorry but I really need some help with this problem. I have tried to perform CCA in R and I can never do this successfully. Can someone please tell me what I'm doing wrong. I've attached my CCA R script file. I've also attached my data file I use that contains all my data I use for my analyzing. **All attached files were saved as .txt This was the only way I could attach them. The file "all_Data01.txt" needs to be converted into a .csv file. Just rename it.**** If …

Member Avatar
+0 forum 0

i have finished writing my program, but teacher want me to write a checkbook balancing program of a user's account. It has to use getline () to read a line, which will contain either the word "withdrawal" or "deposit". After reading each pair of line, the program should compute and print new balance. I think i need to declare a variable to hold the running balance. The program must warn when the user if the withdrawal exceeds the balance. *input should be somthing like this: 1.deposit 2.100 3.withdrawal 4.12.34 5.withdrawal 6.49.00 7.deposit 8.7.01 *OUT PUT of the program should print …

Member Avatar
Member Avatar
+0 forum 2

hey guys! i decided to make my own programing language. it is called tempestX. the beta is not ready yet but when it is, i will provide a link for any one who wants to try it. here is a brief explanation: i was used to programing in windows batch, when i decided to try VB and C++. i struggled at first, but then got to a goo standing point. but soon i realized it was extremely difficult to create your own commands in C++ and VB (at least to me.), so i decide to make my own language. it …

Member Avatar
Member Avatar
+0 forum 4

I am writing the following program that calculates the average of a group of test scores where the lowest score in the group is dropped. It has the following functions: void getScore()-should ask the user for a test score, store it in a reference parameter variable, and validate it. This function should be called by main once for each of the five scores to be entered. void calcAverage() should calculate and display the average of the four highest scores. This function should be called just once by main and should be passed the five scores. int findLowest(): should find and …

Member Avatar
Member Avatar
-1 forum 2

i need ur help sir i m asked to develop a small educational software package using c++ package must be a set of 5 multiple choice questions answers to which will be correct nearly correct wrong obviously wrong on completion of the test core must be displayed.... plz help me out

Member Avatar
Member Avatar
+0 forum 4

Trying to learn Java on my own with the book "Starting out with java" The question is this Write a class that has three overloaded static methods for calculating the areas of the following geometric shapes: circles rectangles cylinders (it gives the formulas for the are of them) Because the three methods are to be overloaded, they should each have the same name, but different parameter lists. Demonstrate the class in a complete program. My answer is this: [CODE] public class Area { static double Area (double rad) { return Math.PI* (rad * rad); } static int Area (int wid, …

Member Avatar
Member Avatar
+0 forum 2

Hi all, I'm trying to write the Hufmann code to encode a given file & give me the compression ratio. but when I run this programme, I'm getting segmentation fault. Can you please help me with correcting it ? [CODE] /*************************/ /*************************/ // HUFMANN.C /*************************/ /*************************/ #include<stdio.h> #include<stdlib.h> #include<input.h> #define MAXBITS 32 #define MAXNODES 512 #define MAXSYMBS 256 int hmin(void); void hinsert(int,int); struct codetype{ int bits[MAXBITS]; int startpos; }; struct nodetype{ int freq; int father; int isleft; }; typedef struct hlist{ int pos; int hfreq; struct hlist *next; }hnode; hnode *hroot=NULL,*traversal; extern struct list a[256]; extern int n; int hmin() …

Member Avatar
Member Avatar
+0 forum 1

I need the coding for the following question in C: Read from a file (.txt file) and count the number of times the word "a", "is", "the", "and", "that", and "this" occurs.

Member Avatar
Member Avatar
-3 forum 3

I am just looking for information about dump file created by windows on crash. Want to understand its working. Please share your knowledge about this topic, you can post to it or can give me reference links.

Member Avatar
Member Avatar
+0 forum 1

Hi guys, this is my first post. In the past I found a lot of answers here so I decided to join you. My problem is this: I am using scapy in my software and It works fine using Ethernet connection. But I have to use a 3G key and in this case I have to manage the layer2. According to ifconfig output: ppp0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500 inet 91.87.154.196 --> 10.64.64.64 netmask 0xff000000 I should use the PPP class but really I don't know how. The default istance doesn't work, I am not able to receive packets. Could you help …

Member Avatar
+0 forum 0

Code portability basically refers to making source code able to compile on different platform without making any changes in source code. While coding its very important to keep portability in mind.The best way to introduce code portability is while coding.Keeping certain things into account we can achieve code portability with lesser effort, which we will discuss in this post.There are certain tools too which detect portability problems on source code, its a post processing of code and requires extra effort. Non-portable code introduces problems like maintenance of different versions, reduces readability, reduces understanding of code etc... Efforts needs to make …

Member Avatar
Member Avatar
+0 forum 15

I have just started proggramming in c#. I have created a platformer game and i was wondering if anyone could tell me how to have some text on the screen that shows how many of the collectable "coins" are left. If someone could give me some advice on how to do this it would be appreciated.

Member Avatar
Member Avatar
+0 forum 1

i want C++ programing which do- Addition - Multiplication - Finding the Inverse - Finding the Determinant

Member Avatar
Member Avatar
-2 forum 3

I am new to c++ and I'm kinda struggling. I'm trying to write a program to guess a number that the user inputs. The program should guess a number then the user should be prompted if it is too high or too low. then the program should guess again, intill it gets it right. Then display "I guessed your number of ( lets say 37) in (lets say 5) tries" it should always guess the users number in 7 tries or less. So first the user is prompted to pick a number between 1 and 100, then the computer should …

Member Avatar
Member Avatar
+0 forum 7

The End.