199,114 Archived Topics
Remove Filter ![]() | |
![]() | I'd like to ask if anyone knows how to randomize character variables, and if it is possible to define the possible characters it can use in the randomizing process. Any info would be excellent ^^ T#4NK$. ![]() |
First off, I am completely new to php hello I am running vbulletin 3.0.3 and I am trying to use the [URL=http://www.vbulletin.org/forum/showthread.php?t=62164][B]How to create your own vBulletin-powered page! (uses vB templates[/B])[/URL]. The reason that I want to create this page is so that I can intergrate a glossary script that … | |
ok, i need to write a function called merge_lists that take two call-by- reference arguments that are pointer variables that point to the heads of linked lists of values of type int. the two linked lists are assumed to be sorted so that the # at the head is the … | |
Hi everybody, I am new to JavaScript and need help to start, please help to Write the script to calculate grades. Up to 10 scores can be entered. The raw scores are curved and grades are assigned. Click the "Load" button to work with the example scores. If the average … | |
if (a==b && a > 1 || a < 31 && b > 1 || b < 31) cout << "true"; from what i can understand I've told the compiler that if a is equal to b and a is greater than 1 or less than 31 and B is … | |
I have a script to read a file that has text on lines. The script is supposed to take the text and make them into space delimited and save the new text to a new file. I am able to only accomplish this with 1 line from the text file. … | |
Hello everyone, I have a very important thread in my application and I do not want it to be terminated accidently, or in other words, if it is terminated for some reason (for example, be terminated by some unhandled Runtime exceptions), I want it to restart automatically. I am wondering … | |
Does anyone know how to have a windows program accept command line options? For example a terminal program just needs a parameter in the main function to accept command line parameters, how can I do the same for a windows main functions, since parameters are already there? | |
after using the search and everything, I tried to write my own little code that compares 2 strings. #include <iostream> using namespace std; int main() { char stringa[12]; char stringb[13]; cout << "enter the data for string a " ; cin >> stringa; cout << "enter the data for string … | |
Hi. I'm having a ton of problems right now (I guess volunteering to write an internal application in a language I've never seen before does that kind of thing), but I'll start with something simple. I'm writing asp.net code to manage some office applications (specifically access and excel). I've read … | |
I need to open a word doc template from a java application and i also need to dynamically update the fields in the template with some values from the java application.. Can anybody help me????...... Thanks in advance.......... | |
Hello ladies and gents, Ive written a program wich I'm almost certain it'll work, Ive only got one problem, I need to write an if like this: int a = 0; if ( u!=x) a++; Now, u is a floating variable wich is divided before this selection by 2, 3, … | |
Well as probably half the population of noob programmers out there, I have done those 2 things, quit, and stopped because of school. Well i am trying to get back in, i want to make a game like 90% of the noob programmers out there and i have tuts on … | |
![]() | I am currently reading the SAMS Teach Yourself C++ in 24 Hours 3rd Edition. It was a nice starter for me, but I need to travel deeper into the world of C. I am not sure what book is best to buy. I'm looking for anything that teaches stuff about … ![]() |
Hello from what i can understand about function is that you need the prototype , then you need some kind of call function in the program and then the delcared function. Well I've done that but it doesnt want to work :( #include <iostream> #include <ctime> #include <cstdlib> using namespace … | |
So... what is better, SQL, MYSQL, MSQL, POSTRESQL, and etc for a fast database that must be used in conjunction with asp and php. For now, i'm looking for the easiest database to be used in conjunction with ASP. Any suggestions? [flash]http://www.geocities.com/cyberpitstop/footer.swf[/flash] | |
Hi - new to all this. Trying to learn C++. How can I create an exe file in C++ that will open another file eg an excel file, when my created exe file is run?? Thanks for any help TP | |
I am doing a program for school that lets the user guess the number. I am to be tested for all situations which include the user pressing a "letter" on the keyboard. I believe that I have all of the other errors handled, except for if the user enters a … | |
I am writing a program using a linked list and I am almost to the point where I can compile and run it but I keep on getting this error message: error C2447: missing function header (old-style formal list?). What does it mean? I looked through the code but I … | |
The exercise is finding the largest and second largest numbers of ten entered. The numbers can only be entered once. No functions, arrays, of the STL can be used... Just while statements The problem I'm having is with a sequence 5, 4, 9... The 5 becomes the largest, 4 is … | |
Hello people I'm new to this forum and only been suing c++ / c for a little while now. I'm trying to seek out help with a program. I've written some of the code: .................................................................................................... #include <iostream> #include <iomanip> #include <ctime> #include <cstdlib> using std::cin; using std::cout; using std::endl; using … | |
Hai! I tried writing a stack program using the concept of templates. It worked well for the int,char and double.But when i tried to pass a complex class error occured. Is it possibleto pass a class to the template class? If so what is the syntax for doing it? I … | |
| |
:lol: Hi to all! Do you guys support or have a section on game programming/design? if so whats the best language youd say to learn? :evil: Thanks FlickGuY... | |
I've been having some fun with early programming and have created several projects with various attempts at some failed programs. I wanted to redo, with new file names, some of these with new attempts. However when I try to delete the bad files in a project, the project stills lists … | |
Hi everyone, I have a rather silly question but please bear with me for a while. If lets say i have a string which has the contents [code] "C:\\p\\kol\\pki.txt" [/code] the thing with the above string is that if i use as an argument in a fileinputstream it will only … | |
Hi I know pseudo code is not a generic language... I've google about a little and found different / similar words with the same meaning, however I'm a little stuck on the "toss = 1 + rand() % 2" Which basically looks at the system clock ,creates a random number … | |
Hi, New to programming & a bit lost. How can I create an exe file inC++ that will startup another program such as Excel?? Thanks in anticipation TP | |
I brought some of my work home with me, but when I try to run the program here, I get the following errors: "SDClass.java": cannot find symbol; symbol : class JDOMException, location: package org.jdom at line 22, column 17 "SDClass.java": package org.jdom.input does not exist at line 23, column 23 … | |
i am in the midst of studying for finals and i came across a program about the olympics. in this program we were given the id's of each judge and the scores to put in. once we have all the scores you are asked to average them. although my program … | |
I want to make a game with a couple people i know how should i go about that where should i start? | |
I am used to using: [CODE]char *str;[/CODE] to make a string but recently have changed to using the ANSI string class as its a lot more powerful and easier to use... BUT i have a problem! when I have encountered a string which conatins a " character I have used … | |
I download a program located at [url]ftp://ftp.softcircuits.com/vbsrc/browse.zip[/url] and being a newbie, i failed to make the code work. i mean to make my code work with yoursit... the code is given below: [I]Private Sub Command1_Click() Dim myfile Dim i As Integer For i = 1 To 999 myfile = Dir("C:\" … | |
how to select folder using commondialog in visual basic | |
I'm having trouble defining the functions get_last, delete_last, and add_item. I've been working on the program for days and can't get the function definitions to work at all, so i left them blank. COULD SOMEBODY PLEASE HELP!!! This program is suppose to define a List class that holds a list … | |
Here is the error I am getting: Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/movethem/.panel/web/portal/73/includes/sql_layer.php on line 286 This is in correlation to a calendar that I installed. Would anyone have any idea how I can fix this? My main config file is working as … | |
I understand how you can make a form that when submitted will go to asite where the info is processed. Is it possible to do the same type of thing just by making a simple link? Using a href or something like that? | |
When I attempt to add a new category, it says that the new category already exists, regardless of what I put in it. Is this a common problem that is easy to fix? I apologize if the question has been asked a million times, but it is very frustrating. Thanks! | |
I wonder can anyone help please ...very very urgent! Am a web designer and am only just learning javascript and have just taken over some ones website to work on. The pages of this website come with an attached .js file for the 6 navigation menu buttons. Somewhere in the … | |
Hi al...I am a total c++ beginner...I need ur help plz...I am making a program which asks the user to input a binary number and displayz the binary number converted to decimal number using a function. The code which i wrote is below: #include<iostream.h> #include<math.h> int bin2dec(int n) { int … | |
We've recently developed a complicated relational MYSQL database which, on a data storage level, is working really well. Unfortunately, in terms of being able to sort and edit sometimes very large data reports, our front end interface (a custom built work in progress) often scores a relatively unimpressive "C-". Complicating … | |
hi ppl i am fakhre, and i am new, not only at your web but also in 'C' language. will any one of u will help me, i need a simple code written with while loop to convert binary to decimal. your frnd Fakhre. | |
I'm not incredibly skilled with C/C++, but I'm writing a C++ Win32 Console Application that inputs an atomic formula, and outputs the molar mass. Everything should work fine, but in my if structures where the user input is the atomic symbol for Uuq, or any element that has 3 letters … | |
Hi i'd be glad if u help me with write this program. i want to write a polynomial program which it has a class that create 2 obj like this with useing linked list: (Ax^2y^3+Bx^4y^8+....)AND(ax^5y^1+....) and after that multiply these 2 obj to each other and put the answer in … | |
im having the hardest time with this problem it doesnt like my do while loop it doesnt want to do my loop for spacing and doesnt want to do my day pacing with the if else breaks! #include <iostream.h> /* jake sanders CS115-001 fall 2004 Programing Assignment 3 Program Description: … | |
This is the error message I am getting and the driver and class is below it. Thank You if you can help me :) C:\My Documents\CS151\CircleSolutionDriver.java:18: cannot resolve symbol symbol : constructor Circle () location: class Circle Circle circle = new Circle(); ^ 1 error Tool completed with exit code … | |
I need to write a program that finds the sum and average of 50 numbers. I am very new to C++, I have learned VB and this is really confusing to me. Please help me with this simple program. I went to another forum and had no responses. Kelly | |
I am in need of some examples of writing functions. The way it is stated in my book is kinda confusing. I dont know if I have to return a value or not. I dont understand if it is necessary to use the general form of a function returning a … | |
I want to access a variable that is declared as such class xx { private: CRITICAL_SECTION m_csResponse; } this variable I want to access from a method in another diff class in a different file(the variable being updated).What should I do in the other class? | |
Hey! I GUARANTEE that I'm the most junior programmer here! I started programming VB about 2 months ago, and I started Dev-C++ yesturday!!! I actually have a quick question regarding Dev-C++, I would be very grateful for an answer on this ^_^ I have just purchaced the "Beginning C++ Game … |
The End.