199,114 Archived Topics
Remove Filter ![]() | |
Write program that reads some information of 10 students (name [max 15] , level number , #of points , #of hours , GPA , student id ). These fields should be filled for each student by user except GPA. The GPA (max: 5) should be calculate it by function that … | |
[SIZE=4][COLOR=DimGray]please I need your help inthis program because I do not under stand what does he want and I didn't under stand the array so please help me[/SIZE][/COLOR] Write a function named "eliminate_duplicates" that takes an array of integers in random order and eliminates all the duplicate integers in the … | |
The following program executes without any errors, but the output is not what is expected. The code is correct down till the opening of the MarkScheme.txt file, but the student mark is not displayed on the screen, any thoughts [code]#include <cstdlib> #include <fstream> #include <iostream> #include <cstring> #include <string> using … | |
Hi! I have a PHP application with alot of files, and I really needed an easy way out of this. Most of the files call the [b]session_start();[/b] function. However, my [b]/tmp[/b] space is too small, and so it keeps returning me errors. I found out a work-around, by adding [b]ini_set('session.save_handler','files');[/b] … | |
Hello everyone, I want to print out the string "Hello World!" to console at a random interval, and the average length of the random interval is 1 minute when the string is printed out hundreds of times. Anyone know how to accomplish this? Thanks in advance, George | |
Hi, I hope I put this into the right category On my [url=http://www.national-real-estate-directory.com/real-estate-forum/] Real Estate Forum [/url] the vBulletin options are not working. Could someone tell me where to start troubleshooting. Thanks, Mike | |
Anybody could tell me what's wrong with the following code? It complaints: 13 C:\apps\Dev-Cpp\projects\14\14_1.cpp ISO C++ forbids defining types within return type Thanks in advance. [code]#include <iostream> #include <cstdlib> using namespace std; struct vector { double x; double y; friend ostream& operator<< (ostream&, vector); } ostream& operator<< (ostream& o, vector … | |
Hi, i'm doing a program in OpenGL and need some help with arrays. Basically I have a structure called ObjectNode which is used to implement a linked list with two data members, an int for the object type and an array of IntPoints (IntPoint is just a simple structure to … | |
Is it necessary to install Internet Information Server while developing web applications or what else are options? | |
Hello everyone. My instructor has asked me to write a program that accepts a string as input from a user and prints the string in reverse. I have to use a "for" loop to reverse the string. I am also suppose to allow the user to input more than one … | |
Hi, everyone. You may have probably heard this a hundred times, but I am new to programming and I am taking an intro to C++ class. I have a program that I have written, but I can't understand why it will not exit gracefully. This is what I have written, … | |
please where is the error in this code doesn't run [code] #include<iostream> #include<cstdlib> using namespace std; int main() { int ages[1000]; int size=1000; int i,a,b; for( i=0;i<size;i++) { ages[i]=rand(); for( a=1;a<size;a++) { for( b=size-1;b>=a;b--) { if(ages[b-1]<ages[b]) { i=ages[b-1]; ages[b-1]=ages[i]; ages[b]=i; } } } } cout<<ages[i]; return 0; } [/code] Code … | |
Hi everybody, I've been searching for days to find a way to access Active directory database from my VB.NET appz and nothing made good results so far.. The Active directory DB is located onto a Win2k3 server but we have another on a NT4 server too.. Neither worked.. :( First, … ![]() | |
I am having a problem with a javascript script. Add this code to an html file if you wanna try it. [CODE]<html> <head> <script> var n = 0; function addtb(){ document.getElementById('TextEditor').focus(); cmd = 'InsertInputText'; document.getElementById('TextEditor').document.execCommand(cmd,'true'); document.getElementById('TextEditor').blur(); var TE = document.getElementById('TextEditor'); var TEcn=TE.children; for (i=0;i<TEcn.length;i++) { n++; if(TEcn[i].id == "") TEcn[i].id … | |
Hey all, Not quite sure if this is the right place to post this, but here it is anyways... Ok, I have a pretty much full version of the MS Visual Studio 6.0 that I was able to get through school (free of charge!). I basically only use Visual C++ … | |
Hi there, I have an image that is split into lots of little images that when flipped through would effectively animate the character. :cool: How would i go about playing through the images, i assume i would somehow map the image into a two-dimensional array and then just run through … | |
hi i know this is a newb question, but how do i get doubles to display the end zeros after the decimal point for example i want to display 1.20 but i'm getting 1.2 cheers | |
I read about Java being multi-platform language but could not confirm this. If I compile and make .cla files in Windows OS and then run these on Unix OS will run fine ? Or I need to install some components. | |
Just want to get ideas on which modern language could replace good old Basic, so the learning curve isn't too galling. I am partial to Python. The reasons: 1. It is an interpreted language, but can be compiled. 2. It has a very efficient memory manager built-in. 3. Lots of … | |
Check out April Fools page for PHP (look in top right corner for there usual logo) [url]http://www.php.net/[/url] or you can just add this lovely content to your site any 'ol day by: Here are some other things PHP has built into there little program Simply add this to any PHP … | |
I am using PHP 5 and I ran into a problem using $_SESSION and session_start() because they do not store values. I have the register_globals option set to Off and the session.auto_start set to 0. I am running apache 2.0 on my computer (Windows XP) as a test server through … | |
For homework I was assigned the "non-attacking queens" problem. Now I have all_boards as a static variable and i was trying to store each step as a board. like row 1 board, row 2 board, etc, but for some reason all the boards are overwritten with the final board. My … | |
Please could you give me an example of sorting an array and[B] how to call the [/B] [B]function at the main [/B] thanks a lot :o :rolleyes: :rolleyes: | |
Hello, as you well know I've got a hangman game produced, I now have the luxury of adding to the code since all my work is completed ...yay, well, I've decieded to take it a step further and draw out the hunged man! I have the drawing , its just … | |
hi all. i am currently thinking for learning assembler and compiler language. i just wanted to know how long it will take to learn this language and how difficult is it? | |
Are there any good and free Pascal compilers out there? | |
In my form I have a field (Reqby) that will request the name of the Dept. Manager. Is there a way that I can take that information and add it to the TO: line? The TO: line already has a name in and I want to add the Dept. Managers … | |
how do I get my calculations like ex. I want to add up the average gallons used per mile for a car if the car went like 1450 miles and used 62 gallons of gas I dont want it to be a whole number i want it to be like … | |
I have an assignment which can be found at [url]http://www.cems.uwe.ac.uk/~lrlang/java_html/assignment2.html[/url] i have coded all the required classes apart from Hotel and HotelGui classes my problem is with the Hotel class the assignment says "The methods that you are required to implement are as follows: * public Hotel () The constructor … | |
:evil: The following C program is mainly written to work as an address book. I have written the code but the VC++ compiler shows four errors and I cant find them :rolleyes: . Can some one please help me find them..my assignment deadline line is on the 10th of this … | |
Hi,any of you know how to like create a alert system(reminder) ?? using vb.net..windows application..and it goes in tis way.. a alert will pop out to tell u the amount of stocks when it left less than 10. (i creating an application -database) | |
[U][B]i only want what you think, the anser is, this came in a exam paper last year, am not sure what the answer is, can anyone help and explane what hes after please[/B]Using access and visual basic or c++ or pascal[/U] i've been told something like this will come again, … | |
![]() | In file proceesing how can i find the renamed file.... meaning....i created 2 files named derrick.txt and alex.txt and in the program when i input derrick, the program will look for the file derrick and open the file, and if i enter alex, the program will look for alex.txt thank … ![]() |
hello experts!!! im just a beginer.. thats wants to know alot.. i want to program my own tictactoe game.. but i dont have visual basic..can anybody plz.. give me some codes that i can edit my self with javascript or html.. if possible? can you make a tictactoe game with … | |
hi everyone System.out.println(currentPlayer); it returns to me like this:[B]Player@7cbde6[/B] i know it was caused by toString() and it is suggested to ues overriding method but i don't know how to do it, so can somebody teach me how to use overiding method so System.out.println(currentPlayer); will display what i want thank … | |
Hi, I am using web hosting through a Company called 1 and 1 ([url]www.1and1.co.uk[/url]) for my website and as I signed up to the MS hosting package, I only get access to ASP scripting, not PHP. At the moment, I am using forms provided by 1 and 1, but they … | |
OK, I've looked at CMS's, I've thought hard about the best approach to permit/enable clients to alter their content etc..... and I'm stunned at the vast array of basically limitless powqer this app's permit.... yet none of them are simple enough or small enough to just dump and let an … | |
Hello here is a site that contains lot of tutorials for C/C++ programming. Hopefully u will find them useful and also u can download the source code. [url]http://www.mycplus.com/[/url] | |
i'm kind of new .NET programmer and i don't know which files i need to install on the machine running Windows98se , in order to make it able to execute application written in VB.NET. And where I can download thoose files? please help !! TNX :) | |
so im trying to write this program that converts Fahrenheit to Celsius and vice versa but im gettin an infinate loop at the menu. i go to select the number that i want and it just displays the menu again, i though i was doin it right? [code]#include <iostream> //for … | |
i have an assignment to write a hotel booking system in java i have to write this class "The Booking class brings together all the details for a booking into a single object. When creating a Booking object, it is vital that: * The room availability has previously been checked. … | |
When trying to build me program the error message [COLOR=Red]LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16 Debug/Marking Program.exe : fatal error LNK1120: 1 unresolved externals[/COLOR] occurs. I am not sure why this happens, any thoughts | |
Well, I have created a config file where I provide the server name,dbname,dbusr name.I include this in another file called create which just creates a table to store userinformation. So when the login html file gets a user name and password it has to call another page...but it showed a … | |
i know this is a vb assignment, but my tutor want me to do it in vb or c++ with access, i need to create tables with access, i can see two tables but am sure there another one, i know css is a table and pencil is also a … | |
i know this is a vb assignment, but my tutor want me to do it in vb or c++ with access, i need to create tables with access, i can see two tables but am sure there another one, i know css is a table and pencil is also a … | |
Hi, I'm modifying a template using Dreamweaver that I downloaded from the web and I would like it to check the browser resolution and resize accordingly. It was designed at 1024x768 and looks OK at that resolution, but is someone is running 1280x1024 it is small on the screen. Does … | |
I need very simple Counter Code...in which no database is use.. just some line of codes to count the total visitors and thats all...and need this withour java script bcoz i dont have support on domain..... Raza. [url]http://www.razasnet.tk[/url] ;) | |
Using access and visual basic A company has been using a program written in VB using Access tables for sales order processing. The data model they have is as follows. Customer customer No (PK), customer name, address etc Order order No (PK), customer name (FK), date Order_line (order No, stock … | |
I have been trying to figure these out from the book but couldn't .Im studying correspondence so im also on my own Thanks alot for any help ! 1. if the program TEST.ASM has been designed as an EXE program , can the program TEST.OBJ be executed successfully? 2. What … | |
This is a short list of recommendations on how to use C++. My experiences are from using gcc 2.8.0 and Visual C++ 6.0. I had to have things compatible between these two compilers, and between Unix and Windows. [b]Contents[/b] [color=#800080]IO of binary files[/color] [color=#800080]When are destructors called for local variables[/color] … |
The End.