199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for some one

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 …

Member Avatar for Narue
0
208
Member Avatar for some one

[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 …

Member Avatar for some one
0
507
Member Avatar for jonnie83

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 …

Member Avatar for Narue
0
169
Member Avatar for BoogaBooga

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] …

Member Avatar for BoogaBooga
0
173
Member Avatar for George2

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

Member Avatar for George2
0
2K
Member Avatar for SiteTutor

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

Member Avatar for SiteTutor
0
122
Member Avatar for banbangou

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 …

Member Avatar for quickhelp
0
180
Member Avatar for Sluga

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 …

Member Avatar for Sluga
0
2K
Member Avatar for sham
Member Avatar for Drew
0
138
Member Avatar for Starz20

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 …

Member Avatar for Narue
0
168
Member Avatar for Starz20

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, …

Member Avatar for Starz20
0
163
Member Avatar for some one

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 …

Member Avatar for some one
0
116
Member Avatar for SpiXener

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, …

Member Avatar for nicentral
0
259
Member Avatar for belama

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 …

Member Avatar for belama
0
182
Member Avatar for Coach_Nate

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++ …

Member Avatar for jbennet
0
182
Member Avatar for YoungCoder

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 …

Member Avatar for YoungCoder
0
241
Member Avatar for jimbob8472

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

Member Avatar for paradox814
0
157
Member Avatar for sham

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.

Member Avatar for paradox814
0
115
Member Avatar for vegaseat

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 …

Member Avatar for Puckdropper
0
154
Member Avatar for paradox814

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 …

Member Avatar for Dani
0
204
Member Avatar for raml

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 …

Member Avatar for Toba
0
185
Member Avatar for NSCelica

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 …

Member Avatar for NSCelica
0
113
Member Avatar for nizar4445

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:

Member Avatar for vegaseat
0
219
Member Avatar for Acidburn

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 …

Member Avatar for Acidburn
0
2K
Member Avatar for kalel21

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?

Member Avatar for tonakai
0
1K
Member Avatar for vegaseat
Member Avatar for DeFrog777
0
264
Member Avatar for dreyes67

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 …

Member Avatar for dreyes67
0
181
Member Avatar for hopeolicious

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 …

Member Avatar for Dave Sinkula
0
178
Member Avatar for jimbob8472

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 …

Member Avatar for jimbob8472
0
93
Member Avatar for acidburns

: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 …

Member Avatar for acidburns
0
181
Member Avatar for N[e]tt[e]

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)

Member Avatar for N[e]tt[e]
0
159
Member Avatar for mel2005

[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, …

Member Avatar for mel2005
0
91
Member Avatar for kohkohkoh

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 …

Member Avatar for kohkohkoh
0
77
Member Avatar for peterb92

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 …

Member Avatar for peterb92
0
120
Member Avatar for drunkpanda

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 …

Member Avatar for aj.wh.ca
0
121
Member Avatar for mark25787

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 …

Member Avatar for Drew
0
384
Member Avatar for autocrat

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 …

Member Avatar for autocrat
0
245
Member Avatar for msaqib

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]

Member Avatar for JoBe
0
112
Member Avatar for marijana

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 :)

Member Avatar for Mullethead
0
263
Member Avatar for tyczj

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 …

Member Avatar for tyczj
0
114
Member Avatar for jimbob8472

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. …

Member Avatar for freesoft_2000
0
141
Member Avatar for jonnie83

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

Member Avatar for Dave Sinkula
0
308
Member Avatar for hbmarar

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 …

Member Avatar for DanceInstructor
0
324
Member Avatar for mel2005

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 …

Member Avatar for alc6379
0
125
Member Avatar for mel2005

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 …

Member Avatar for alc6379
0
134
Member Avatar for mark25787

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 …

Member Avatar for DaveSW
0
268
Member Avatar for Raza

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] ;)

Member Avatar for Raza
0
231
Member Avatar for mel2005

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 …

Member Avatar for mel2005
0
181
Member Avatar for unseen

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 …

Member Avatar for unseen
0
191
Member Avatar for meabed

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] …

0
140

The End.