No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hello there. I recently have been teaching myself C++ and have come across something that I just can't seem to grasp. I undersatdn the basics of structures but when it comes to this nesting type situation I just can't figure out what is going on. If someone could explain in … |
|
Alright so what I'm trying to do is send the form data to the value of whatever checkbox is checked in checkbox_1. <html> <head> <title>Untitled Document</title> <h1>Student Request Form</h1> </head> <body> <?php if(isset($_POST['checkbox_1'])) { $checkbox_1 = implode(",", $_POST['checkbox_1']); $to=implode(",", $_POST['checkbox_1']); $subject = "My subject"; $txt = "Hello world!"; mail($to,$subject,$txt); } … |
|
Alright I apologize for the completely uninformative title but i had no idea what to call it. Basically I have an array with multiple values and I only want information to be sent from certain forms if a certain value is met in the array. <?php if(isset($_POST['cb1'])) { $cb1 = … |
|
OK! i have a problem. I'm making a game with a character you control and theres monsters that move when you do and when you run into a monster i have it so you lose 1 life. (iLife --; ) i set iLife equal to 4 at the start. if … |
|
Ok! so im making a simple highscore type thing. the person plays the game and receives a score within the game. At the end of the game i have it currently comparing the score received with the score already in place within the highscore text file. the problem im having … |
|
Ok so a friend of mine came up with this code to create a highscores list for a game when i run it, it works perfect you can see everything fine. the problem comes when it tries to reopen the file again. The file has abunch of gibberish inside and … |
|
ok so i've just started using visual c++ for my coding. I'd like to add a sound files to my current project. I've looked up so many ways to do this from allegro to directx and BASS but i cant seem to get anything to work. I've been looking into … |
|
Ok heres my problem i was told to make a simple tower of hanoi project (standard for C++ courses) heres what i have it works pretty well the only problem i have is that i need to number the discs from smallest to largest and tell which is moving. i … |
|
ok so theres 2 things i need help with. in my code i have a random dynamic array with sides a minimum of 9 and max of 20. in this array i need to spawn characters randomly (here's where i need help) how can i randomly spawn characters in a … |
|
Here's my problem my assignment is to create a tic tac toe game with classes included (public and private) with only a few functions in int main. [CODE] #include <iostream> #include <string> using namespace std; class cgame { private: int iTurn; int turns; int gameWon; int i; public: bool validMove; … |