199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jaepi

Hello there, do have any idea if there is a function that gets wchar from the stream, somewhat similar to fgets function. Thanks. :)

Member Avatar for jaepi
0
148
Member Avatar for jaepi

Hello there, is there a function in Linux that can handle the reading of an .ini file? Thanks.

Member Avatar for jaepi
0
1K
Member Avatar for qcwailun

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 …

Member Avatar for Ancient Dragon
0
284
Member Avatar for chaosatom333

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

Member Avatar for Duoas
0
271
Member Avatar for invisal

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

Member Avatar for Duoas
0
136
Member Avatar for slayer10

i want ot make a 2-dimensional array of JToggleButtons to store toggle button names but i cant figure out the snytax Please Help!

Member Avatar for slayer10
0
289
Member Avatar for nikki_2000b@hot

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 …

Member Avatar for Duoas
0
2K
Member Avatar for hoasabi

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 …

Member Avatar for CertGuard
0
130
Member Avatar for moyles
Member Avatar for dabronx1671

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()"

Member Avatar for Ezzaral
0
73
Member Avatar for simps0n

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 …

Member Avatar for simps0n
0
1K
Member Avatar for kaly12

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?

Member Avatar for invisal
0
92
Member Avatar for potentialdesign

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

Member Avatar for Duoas
0
71
Member Avatar for BensonRoss

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 …

Member Avatar for BensonRoss
0
99
Member Avatar for Chris147

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.

Member Avatar for Chris147
0
80
Member Avatar for spankyg

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;

Member Avatar for spankyg
0
124
Member Avatar for kdelorme2005

Hi I was wondering if someone could help me write JAVA for a mad lib. Thanks

Member Avatar for masijade
0
68
Member Avatar for ChaseVoid

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 …

Member Avatar for Ramy Mahrous
0
167
Member Avatar for jencinas69

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 …

Member Avatar for martin5211
0
88
Member Avatar for Kattalyst

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 …

Member Avatar for Kattalyst
0
94
Member Avatar for kahaj

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 …

Member Avatar for kahaj
0
107
Member Avatar for thanaras

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

Member Avatar for Ezzaral
0
126
Member Avatar for rickster11

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 …

Member Avatar for Ezzaral
0
142
Member Avatar for mr.lemarc

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 …

Member Avatar for Colin Mac
0
175
Member Avatar for gotmick

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 …

Member Avatar for martin5211
0
141
Member Avatar for moyles

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

Member Avatar for moyles
0
82
Member Avatar for guitarrick

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 …

Member Avatar for guitarrick
0
94
Member Avatar for r5ingh

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 …

Member Avatar for r5ingh
0
238
Member Avatar for Kiba Ookami

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 …

Member Avatar for VIeditorlover
0
181
Member Avatar for kv79

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.

Member Avatar for kv79
0
115
Member Avatar for Noliving

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 …

Member Avatar for imamyth
0
113
Member Avatar for tmonaghan

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 …

Member Avatar for tmonaghan
0
95
Member Avatar for billah_norm

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

Member Avatar for avmaza
0
231
Member Avatar for ChaseVoid

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

Member Avatar for ChaseVoid
0
89
Member Avatar for hsanjakd

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 …

Member Avatar for ithelp
0
89
Member Avatar for gatzos_barca

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 …

Member Avatar for ithelp
0
133
Member Avatar for kings

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

Member Avatar for nav33n
0
85
Member Avatar for SamWinters

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]

Member Avatar for ithelp
0
180
Member Avatar for ssriram

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

Member Avatar for Belrog
0
211
Member Avatar for partyanimal

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 …

Member Avatar for partyanimal
0
169
Member Avatar for JCD

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 …

Member Avatar for ardsuggy
0
227
Member Avatar for kusal

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

Member Avatar for nav33n
0
130
Member Avatar for Oxiegen

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

Member Avatar for Oxiegen
0
236
Member Avatar for ryu12341

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 …

Member Avatar for Duoas
0
250
Member Avatar for finalheavenx

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 …

Member Avatar for sameerrathore
0
64
Member Avatar for eranga262154

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

Member Avatar for Duoas
0
115
Member Avatar for Tsjelle

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 …

Member Avatar for Oxiegen
0
206
Member Avatar for vonzul

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 …

Member Avatar for vonzul
0
3K
Member Avatar for kings

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>

Member Avatar for kings
0
134
Member Avatar for arjayes

I need a shell script to simultaneously run multiple instances of a compiled c code can some one please help i'm using BASH

Member Avatar for arjayes
0
77

The End.