- Strength to Increase Rep
- +7
- Strength to Decrease Rep
- -1
- Upvotes Received
- 27
- Posts with Upvotes
- 21
- Upvoting Members
- 19
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
File I/O With C++ Fstream **Intro** File handling is as simple as writing in a book, much easier to modify and find. It's so simple people get confused with it :-). Welcome to the world of file handling. We will use the c++ fstream classes to do our file handling. … |
|
I'm using visual c++ compiler and I want to change the text color in my c++ dos program. What choices do I have if i don't wanna use system function (example: system("color 0a"))? |
|
Hello How much time does it take to register a domain name? Thanks <snip> |
|
I'm trying to compile the following program (file named test.cpp): #include "stdafx.h" int main(int argc, char* argv[]){ INPUT *buffer = new INPUT[1]; //allocate a buffer buffer->type = INPUT_MOUSE; buffer->mi.dx = 100; buffer->mi.dy = 100; buffer->mi.mouseData = XBUTTON1; buffer->mi.dwFlags = MOUSEEVENTF_LEFTDOWN; buffer->mi.time = 0; buffer->mi.dwExtraInfo = 0; SendInput(1,buffer,sizeof(INPUT)); delete (buffer); //clean … |
|
I install php script.but error. Parse error: syntax error, unexpected $end in /home/xxx/public_html/xxxx/ADMIN/index.php on line 376 Please be advice.Thanks <?php include("login_config.php"); include_once("Utils.php"); if(isset($doExport)||(isset($category)&&$category=="exit")||isset($Export)){ ob_start(); } if(stristr($_SERVER['HTTP_USER_AGENT'],"MSIE")) { $IE=true; } else { $IE=false; } $AC=true; include("security.php"); $lArray=DataArray("admin_users","username='$AuthUserName'"); if(isset($lng)){ $LANGUAGE=$arrSupportedLanguages[$lng][1]; $LANGUAGE2=$arrSupportedLanguages[$lng][1]; SQLUpdate_SingleValue( "admin_users", "username", "'".$AuthUserName."'", "language", $LANGUAGE ); } else{ $LANGUAGE=strtolower($lArray["language"]); $LANGUAGE2=strtolower($lArray["language"]); … |
|
Hello to all Gamedevelopers out there. Many of your have already wanted to get into game development but came to a stand still due to the lack of resources. [B]Please don't post Spam or Thank you posts in this thread since this is meant to be used as a guide … |
|
Can someone please explain to me the difference between ++i and i++ when written as part of an expression (i.e. within loops and if statements) ? Thanks :) |
|
Hello, I am new to make programs. So far I can just do logical stuff like math in a dos window. I now want to move on to making actual windows programs. Does anyone know how to make a GUI in C++ for a windows application? Any reading online or … |
|
Hi all, I am just learning DMA, and am supposed to write 2 functions utilizing the offset technique, such that a 2-D array starts and ends the index of each dimension as the user specifies. matrix(): creates a 2D array of float type numbers, indexing from -n to n for … |
|
hi can any1 send me the source code to the bellman-ford and djikstra routing algos please? regards, naveen. |
|
Hi there, Could some1 tell me whats wrong with this code...I know i shudnt b using an int variable but whats the right one for a string... [CODE] #include <iostream.h> void main() { int a,b; cout <<"Enter the first name"; cin >>a; cout <<"Enter the 2nd no"; cin >>b; ((a=="Tom") … |
|
Objective This assignment has been designed so that you understand the concept of using dynamic memory allocation in C++. After the completion of this assignment you should have a good grasp on: o Array of Objects o Use of new Operator for dynamic memory allocation in C++, for user-defined types. … |
|
I've just started learning c++,so i want to take any challenge concerning c++.My question is where do i start when drafting a game program.Please ppl help me out. |
|
Hello, I'm just a beginner (student). Now still undergo C programming class to upgrade my knowledge in C. I was asked to complete a simple program to get the output of C program in the text file as shown below. This program is to help user to consider a range … |
|
where can i find out a detailed information about [B]How to write a header file[/B] ? |
|
Does Anybody know how to use C++ to get information from a database? I have this assignment due but , I do no know to incorporate a database into my program. My program is to allow a user to choose from NFL football teams,when the user picks the team , … |
|
Hey everyone, This is my first time here just to let ya know. Hopefully you can help me. :D The language is C++. I am currently working on a file that consists of functions to manipulate doubly linked lists from the main program. After writing several function everything was fine. … |
|
|
#include <iostream> using namespace std; int main() { int age; for (int i=0;i<5;i++) { cout << "Enter :"; cin >> age; } int *sum=&age; for ( i=0;i<5;i++) { cout <<*(sum+i) << endl; } return 0; } here is one of my program that i wrote. i do not know whats … |
[FONT=Lucida Console][COLOR=Blue]is there any function that helps to sort an array of strings alphabeticly i need to sort an array alphabeticly which contains names of students thx 4 yr help matika :cool: [/COLOR][/FONT] |
|
I just signed up for bux.to and adbux.org and wanted to know what the deal is with them. Do they actually pay? It looks legitimate, but I'm just searching for feedback on a couple random forums that aren't related to that kinda stuff to get the best results. I've also … |
|
Hi, I am looking for a way to use minimal javascript to open a popup window when the user clicks on an input field and allow them to choose one string inside the pop up window (like click on a radio button) and get the input box in the parent … |
|
Okay, I am a new member and I have this program for this game. its an Exe. program and I run up to about 30-40 alts or employees who run around and gather coin from human and hunters and auto banks it for me. It save me alot of time, … |
|
Hey guys, I'm new here. And I was wondering if you could help me with a question i have. You see i have to write a C++ program that plays the game of tic-tac-toe. And the class contains as private data a 3-by-3 double subscripted array of integers. And i … |
|
I mean we create our own game engine which works well with vectors and can mainpulate the 3d card and sound cards.And works with USB control pads |
|
i live in Vietnam, so My English is so bad, but i hope you know what i mean. I want to setup a server that use : Apache, PHP, and Ms SQL server persional edition 2000. But i only can connect Apache 2.0 and PHP 5.x it run ok But … |
|
|
i have an assignment to do but i'm still not good at c++programming.. the question is: -------------------------------------------------------------------------- Write a program in C++ that allows users to play the game of Hangman. The program stores a series of words in a file called words.txt, and randomly chooses one word to be … |
Hello everyone. I am new here and would like to know what would be the best way to go about setting up a website account creation system that will also store there account into a mysql database but also add it to a game database witch is sql. Thanks |
|
It's a game where u shoot from a cannon and the cannon-ball moves like a projectile and hits a target. So u will see three major things in this program: 1. Rotating a cannon; 2. How to move an object like a projectile 3. A very simple collision detection Before … |
|
[CODE] Creating Servers for handling Multiple clients Fog Edition By FireNet [/CODE] (This document is dedicated to my friend Aaron Anderson) (Fog Edition means I dont tell you everything stright.All the info will be there but you will have to do much thinking) Servers and Clients,the backbone of the internet … |
|
<<snip>> Original article can be found: here: [URL="http://www.geocities.ws/jeff_louie/safearray.html"]http://www.geocities.ws/jeff_louie/safearray.html[/URL] |