199,114 Archived Topics
Remove Filter ![]() | |
Hello there, do have any idea if there is a function that gets wchar from the stream, somewhat similar to fgets function. Thanks. :) | |
Hello there, is there a function in Linux that can handle the reading of an .ini file? Thanks. | |
I want to write a code for recording inventory item, all the functions work fine except the function for removing the data. I spend a lot of time in it but still cannot know what's wrong. Here is my code: [code=c++] #include <iostream> #include <fstream> #include <vector> #include <string> using … | |
Hi, I copied one file into another but couldn't figure out how I would number the lines and put a heading on chem.lis, which is the output. here is the program i wrote so far [code=c] #include<stdio.h> #include<stdlib.h> #include<string.h> int main(int argc, char *argv[]) { FILE *inp, *outp; char ch; … | |
[code=cplusplus] int i ; n = 20 ; for ( i = 0 ; i < n ; i--) printf('x'); [/code] Find 3 ways to make this code print [b]x[/b] 20 times by ONLY CHANGE ONE CHARACTER in this code. Have fun guy! | |
i want ot make a 2-dimensional array of JToggleButtons to store toggle button names but i cant figure out the snytax Please Help! | |
Hey there, I am writing MIPS assembly for computing the gcd of two given numbers (recursively), but am struggling! I vaguely understand changing the frame point counter, stack pointer etc. but I'm really at sea with how to implement the algorithm recursively (e.g. how to check if each number is … | |
Hi, I need some help with ASP. I''m only familiar with the language but now I have to do project. I have 3 pages: login.asp, login_script.asp and admin.asp and i'm using access database When the user logs into the login.asp page, it checks the database to see if that username … | |
| |
I'm trying to write a program for the Blackjack game but I keep getting an error message saying "; expected" but I don't understand why a semicolon would be needed. The line of code that it occurred was: "boolean playBlackjack()" | |
Hello, guys! I have to make a program with the following features. - [B]array of records[/B][code=Pascal]TYPE employeeRecord = RECORD name: STRING; surname: STRING; age: Integer; END; employeeRecords = ARRAY OF employeeRecord ;[/code]- [B]a procedure/function to ADD data into the array[/B] I did this one and I think it is working … | |
This is a part of a c++ program: cout<< "Width:" << Width << "\n"; cout << "Length: " << Length << endl; what does the "\n" do in oppose to endl; ? also, when do you use void main instead of int main at the beginning of the program? | |
[QUOTE=mikeandike22;55130]yeah i have thought of just making a full blown language i havent thought of the compiler options and i figured i should study up on how they make things like c++ so i recruited my bro who knows a little more about programming than me.[/QUOTE] i to want to … | |
Trying to write a program that will add two vectors (of type vect_t) and return a vector of type vect_t. Though I can't get my add_vect function to work. lots of redefinition errors telling me different basic types, and i can't figure out how to make it work right. Any … | |
Hi All. Does anyone know how to get the ShareName of a Local Drive? Or even if the Local Drive is shared? I know you can get the ShareName using FileSystemObject, but this only works for Network Drives (Local Drives return ""). Any help would be greatly appreciated. Thanks, Chris. | |
Can someone please explain to me just exactly this try/catch is doing? It doesn't seem to make any sense to me. Thank you in advance. case '\r': if (Choice==(CancelIndex+1))return; try{(*Action[Choice-1])();} catch(...){} system("cls"); Choice = 1; break; case char(27): if ((CancelIndex+1)==ItemCount)return; try{(*Action[ItemCount-1])();} catch(...){} Choice = 1; break; | |
Hi I was wondering if someone could help me write JAVA for a mad lib. Thanks | |
I would like to know how to apply Constraints after creating a table. I was just practicing and creating a database HomeInventory by reading the free e-book from Microsoft. But I'm trying to implement the functions using T-SQL. So How can I do so? [code] CREATE DATABASE HomeInventory USE HomeInventory … | |
Hello I need to do a form that writes to a database I know how to do that What I dont now how to do is how I dump my data from the db as XML I want the data to come out like this on the xml <jobs> <job … | |
A College offers a course that prepares students for the state licensing exam for real estate brokers. Last Year, several of the students who completed this course took the licensing examination. Naturally, the college wants to know how well its students did on the exam. You have been asked to … | |
I'm writing to a file. There are only ten items able to be written to the file (game scores, test results, whatever). I'm using a drop-down selection list on the form to tell which number is being submitted. Is there any way to have it checked as the page loads … | |
Hello. I have a grayscale image that i want to process. I take the raster and then i want to scan the pixels and once i find a non-black pixel, i want to make an operetion(which doesn't matter right now). When i have an ARGB image i do this int[] … | |
I'm having all sorts of problems getting this program to work. I think I know what's wrong with it, but I don't know how to fix the problem. The program is supposed to read a text file that contains information like below.... 1 99 2 88 3 77 4 66 … | |
Hi Stumbled on this forum last year while I was in c++. Unfortunately, I am now completely surrendering myself to your guys input, because I am truly out of breath and energy to push through any further with my lab project. Here is my class' project objective: --Design and implement … | |
I have a form page on a public webserver that needs to send queries to a different internal server on our network, and have the results sent back to our public server. The internal server is an AS400 i5 running Zend Core php and querying a DB2 database. Making this … | |
[B]hello i would like to add a training function to my online texted based game could someone help me ??? is there any websites or scrips whihc help u ?? thanks moyles[/B] | |
I posted this one earlier, but no go......I'm getting an error for the constructor definition StudentRecord::StudentRecord() that it cannot return a value. This was running until I did some rearranging to try to get my function that calculates the total grade average in main to work.(So i commented that all … | |
Hello. I, the C++ noob is back again... This time requiring some help with some visual CPP. This is the first time im working with this, and its only @ a basic level. Yes, this is somehting im doing at university, but i dont ask for help unless im stuck … | |
I'm an AP level computer science student, and I learned VB last year before touching in basic C++ techniques. Now, I was wondering as I (kinda) learn Java (I'm crap at it) what the overall net worth of having VB skills are? I mean, Java seems to be THE language … | |
Hi to all ,just a small question. When i read in the book for Win32 API tur. in c++, this: " cbSize The size of the structure. " I asked my self ,what sturcture? I tought we useing class. | |
Hello everyone, my problem that I'm have is that I have to get the volume and the surface area of a sphere using a class. I believe I was able to do that part of the problem correctly. The issue I'm having is getting that information to print from the … | |
I have a Linux web server that will have a flash form to process user information. This creates a text file in a directory outside of the public area using the date and time for the filename. What I need is this, whenever a file is created in that directory … | |
[FONT=Comic Sans MS]WEB ADDRESS FOR FREE DOWNLOADING OF PDF COPY OF A PHP BOOK[/FONT] Hello? I am a new learner of PHP. I have interested about it. I want to know any web address for downloading a free pdf copy of a good well known introductory book. | |
Has anyone installed it? I've downloaded both express and full developer edition but I can't get past the user account stage. Can someone give me valid userID's and passowords for it? I don't have a password on my user account though.. | |
Hi All! I have a programming assignment that ive been trying to work on. Recently, ive successfully wrote it in java, but im trying to use that as psuedocode so that i can transcribe it into mips - but i dont understand this stuff! ive been reading this book but … | |
Hello All, I just want to ask what this programme does. Actually i know what it does, i just wanna know the exact operation of it. [code=c] char *u ; //declare the string char k; unsigned int x; // declare integer int i; u = " University " ; k … | |
hi i have a table where dates and other info are getting inserted... i have a form where the user can select a start date end date.. based on the start date and end date ..i want to retrieve all the content stored between these dates..... | |
I'm trying to learn php/mysql Read "php and mysql for dummies" and keep getting stuck. Can you get me through this? Regards, Kris [email]m31342@hotmail.com[/email] | |
Hi all, I'm working on a GPS/GSM based project and I want to convert the RMC parameters to BINARY format. Actual RMC Sentence looks like this: $GPRMC,171004.031,A, 3658.4246,N,12201.3362,W,23.44,255.42, 060206 Interpretation as follows: 171004.031 = UTC of position fix (hours, mins, secs, decimal secs) A = GPS Status, Valid (V = … | |
Hello All I have created a form which as two group boxes, in each of these group boxes I have 8 radio buttons in each labeled 1 to 8 and the group boxes are named Up for the first box and Down for the second box. and I also have … | |
Hello, i have been working on a VB Assignment which needs to be completed. However i have been experiencing some difficulties. I am not particularly experienced with VB, and so forgive me if these problems seem nooby.. Basically so far, i have a form where Data of a Customer and … | |
Hi, hope this is the right place, Here is my problem <h4 Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla </h4> I want the content between <h4> tags in a variable, using only one expressions thnx Kusal | |
Hi! Sorry about my bad grammer and/or spelling. English is not my native language. I don't know if this already have been asked and answered, however... I'm currently developing a program in which it will be possible to select table fields from a database and set various criteria using dropdown-lists. … | |
Hey guys and gals!!! first time for me posting on this forum!!! I'm currently learning scheme and for some reason I can't seem to get anything to work correctly. I've been trying to define the union of 2 lists in scheme and its not working. I'm not sure how to … | |
Hello I'm a newbie java student, I would like to ask how can I get this kind of program output by using java: [B]10 10 10 10 10 10 10 10 10 10 9 9 9 9 9 9 9 9 9 8 8 8 8 8 8 8 8 … | |
Hi all, I have a string(not a CString), actually a file path. As an example, [CODE]c:\Test\MyProject\G00062_002_01.srf[/CODE] Then in following way get some data. [CODE] string FullPath = c:\Test\MyProject\G00062_002_01.srf string filePath = FullPath.GetFileTitle(); string groupID; string sessionId; string partID; groupID = filePath.substr(1, 5); sessionId = filePath.substr(7, 3); partID = filePath.substr(11, 2); … | |
Hi there, My name is Tsjelle, I'm a Bachelor in the Informatics. I'm writing a program in vb.net that get's an xml-file as input and somewhere in the xml-file there is an attribute that's in fact an HTML-page. And it's that page I need to get printed. I'm at the … | |
This program should traverse a directory and save the file names into an array so I can manipulate data within the files. The problem is that the program prints the name of the files in the first loop, but it only saves the last file name in the array. Below … | |
hi i want to insert the textbox content to database....wen i give disabled="true" data is not getting inserted in database....when there is no disabled attribute it is getting inserted..... <form name="fm3"> <table> <tr> <td>splendor Id</td><td><input type="text" name="id3" size="20" disabled="true" value=<?php print "$_SESSION[uname]";?>></td> </tr> <tr> </table> </form> | |
I need a shell script to simultaneously run multiple instances of a compiled c code can some one please help i'm using BASH |
The End.