199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for TuX4020

Hi all, this is my first post here and it comes out of frustration more than anything. I've been searching high and low for any insight into my problem and still can't seem to get it right. In the interest of full disclosure, this is a part of a homework …

Member Avatar for TuX4020
0
3K
Member Avatar for sonia sardana

Hey frnds, i have faced the interview question-- Suppose time is 11:00, What is the degree at this particular time??? Suppose time is 3:00, What is the degree at this particular time??? I have clue abt this question,plz reply.

Member Avatar for Salem
0
83
Member Avatar for paolomontero

Hi Im having a problem with the following piece of code: #include <iostream> using namespace std; #define something 33; void main() { if (33 == something) { cout << "equals" << endl; } } Im using Visual C++ 2008 (not Express) and I get 2 errors and 1 warning when …

Member Avatar for Salem
0
86
Member Avatar for nithin

hi I have a problem with vb 6. I made a program to print bills using Data Report. The problem is, the printer prints the bill in fixed paper height. but the bill height varies according to the data. i want to stop the printer after the data ends. because …

Member Avatar for laljain123
0
142
Member Avatar for redclay34

Hi, Does anyone know if there is someway to write something harmless to \\.\PhysicalDrive0 in Windows XP? I have successfully used the ReadFile and would like to try the WriteFile, but then I'd have to find something safe to write to it. Any help would be appreciated. Best regards, MiCo

Member Avatar for Salem
0
88
Member Avatar for noey699

this should b realitivly easy to answer but i need to know how to ask a use for an address to a program (example C:\Program Files\....) then have C++ open it up. all i really need to know is the code required to open the program (the programs intended to …

Member Avatar for Salem
0
176
Member Avatar for amit chaudhary

hi, can any one help me ,i want to access pc serial port through c++ or vc++ built in classes

Member Avatar for Salem
0
111
Member Avatar for scapu

Please i am not getting flow and i am new to C++. Can any body help in this program. C++ program to convert an octal number to decimal and from decimal back to octal. [code=cplusplus] #include <iostream> #include <math.h> using namespace std; void octtodec(); void dectooct(); int main() { void …

Member Avatar for William Hemsworth
0
102
Member Avatar for nse2008

Hi everyone , i am trying to fully uderstand the recursion method in vb but i still have problems in making the programs work, Can anyone help me to create a program that convert decimal numbers to binary numbers or point me to the right direction,I know that this can …

Member Avatar for nse2008
0
108
Member Avatar for Venks

Hai I want to set my time to system in our application, how to set the time and to get the time?

Member Avatar for Ezzaral
0
97
Member Avatar for Jboy05

How do I write a C++ function void ShiftRight (int A[], int m, int n) to shift all elements in the array A to the right m places. Array A has n elements. For instance, if ARY array has {1,2,3,4,5}, calling ShiftRight(ARY, 2, 5) will change the contents of ARY …

Member Avatar for Nick Evan
0
229
Member Avatar for JanqeD

Ok well my friend wrote me a ShortUrl script and I continue to get a [CODE]Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/janqed/public_html/index.php on line 37 [/CODE] Well Heres line 37.. [CODE]echo "Thank you! Your new Short URL is <a href='http://www.Lolurl.net/$newid'>http://www.Lolurl.net/$newid</a><br /><a href="index.php">Go Back</a><br /> ";[/CODE] …

Member Avatar for helraizer
0
79
Member Avatar for komany

Hello. I need help with a thing. I have a file (sound file) I will send via controller area network and therefore can only send data about 8 byte or 8 vector as data [8]. This is sent away with the command sendfile () And I need help how I …

Member Avatar for komany
0
333
Member Avatar for msantosh18

can anyone help me in the following problem. am having a table in MSAccess with 4 columns and these 4 columns should be added in a listbox. When user clicks a command button this list box with columns should open. the user views the lists box and select the required …

Member Avatar for debasisdas
0
87
Member Avatar for Thirusha

Hi I have a collection which is the resultset of a sql query. when i write out the collection (using system.out.println(col)) my collection is in the correct order. -- which is great. But when i iterate through the collection in order to populate my linkedhashmap, the items are inserted into …

Member Avatar for Thirusha
0
96
Member Avatar for Traicey

Assembly is one of the least langauges that I havent done, Have heard about it and its complications, but I neva get to know what do u use it for or in which areas does the language alone excel for example C++ is more suitable for games.... know what I …

Member Avatar for Traicey
0
78
Member Avatar for wollacott

the last for loop i declared it inside, which doesnt work as a c program its c++ i need to declare it out side how do i do that? [CODE] #include <stdio.h> #include <string.h> #include <ctype.h> // Our function declaration saying it takes one string pointer and returns one string …

Member Avatar for Narue
0
182
Member Avatar for ok555

hi, i need help.. i have been working for about 4 hours trying to figure this out and im still lost.. the answer is probably simple but im new to c++ so please forgive me. off a site called informit, the following code is posted: [code] #define NELEMS(A) (sizeof(A) / …

Member Avatar for ok555
0
183
Member Avatar for mussa187

The command line parameters will consist of a DNS command and then a number of IP-URI string pairs, the dns command is always a single letter followed by a search string. A string pairs is always ip address then uri which must be placed in the dns store. these are …

Member Avatar for mussa187
0
140
Member Avatar for mussa187

The command line parameters will consist of a DNS command and then a number of IP-URI string pairs. The DNS command is always a single letter followed by a search string. A string pairs is always IP address then URI which must be placed in the DNS store. The example …

Member Avatar for mussa187
0
129
Member Avatar for lordx78

[code=Java] package midp.firstAid; import javax.microedition.lcdui.*; public class AboutCopy extends Basic { public AboutCopy() { super("About Product"); append("Copyright 2008\n " + "\n Nanthikesvaran\n" + "\n" + "This product based on Java Technology " + "to give and provide sufficient information " + "of a knowledge on First Aid.\n"+ "It's still under …

Member Avatar for lordx78
0
81
Member Avatar for queenc

hi i have two tables,i want to display the details in startpost and based on the userid i want to display the username ie i want to print posttitle,date,name using single query please help [CODE] CREATE TABLE `creuser` ( `uid` int(11) NOT NULL auto_increment, `username` varchar(100) NOT NULL, UNIQUE KEY …

Member Avatar for queenc
0
113
Member Avatar for krishnasaradhi
Member Avatar for BearofNH
0
198
Member Avatar for swapna7999
Member Avatar for swapna7999

i need to generate an id card for that i need to display the details such as name etc which must be accessed from a mysql database and now i know how to connect to mysql database and use select statement but dont know how to display the data accessed …

Member Avatar for swapna7999
0
467
Member Avatar for yassar

Hi, I am working on a database related project for a course. I have decided to use mysql as a database but I cannot decide which web programming language to use. I am trying to decide between asp.net and php, because these are the only two web programming languages i …

Member Avatar for Fungus1487
0
145
Member Avatar for swapna7999
Member Avatar for Raptoricus

hi all, this is the same game (if you can call it that yet) that I asked for help with last time (but I sorted it out myself) this time the problem is getting hp off of a monster/character in the combat header Ive already got a damage function that …

Member Avatar for Raptoricus
0
136
Member Avatar for deepanjali
Member Avatar for deepanjali
0
69
Member Avatar for bojanski

Hello everyone. First, i'd like to introduce myself, would be very rude to just jump in here :) I'm Bojan, student, 1. year, Croatia, and in this semester i've got a class "Programming 1". Here we're doing C++ (in Visual C++). And the idea of the class is to make …

Member Avatar for bojanski
0
128
Member Avatar for DaMunky89

Hey everybody. I'm working on a project in which I need to at many points (279, to be precise) throughout the program set a registry to a certain value. Here's how I've been doing it; and R0, R0, #0 ; Set R0 to decimal zero. add R0, R0, #10 ; …

Member Avatar for ags123
0
325
Member Avatar for jdphenix

Hello. I'm a C++ newbie and am trying to make a functional console RPG game as a hobby project. The code I'm having a problem with allows the players to move through rooms, similar to an old text adventure game. I realize it's probably inefficient, but I've only been learning …

Member Avatar for Agni
0
309
Member Avatar for Yellowdog428

OK so most can guess I am a student just now learning programming and starting out with C++. I have tried many compilers and IDE's and have settled on Eclipse for now. I do not want to start a What compiler/IDE do you use, but I am trying to figure …

Member Avatar for Yellowdog428
0
110
Member Avatar for jeet_portal

Hi Expert, when i m accessing a .shtml file from my apache server, I got this Error."You don't have permission to access /test/link.shtml on this server.: 403 Forbidden" on windows O.S Pls tell me the Procedure to solve this Error.. Thnx in Advance

Member Avatar for jeet_portal
0
125
Member Avatar for hsma

#include <cstdlib> #include <iostream> #include <fstream> using namespace std; int main(int argc, char *argv[]) { string f, o, i, file_c, file_d; ifstream fin; ofstream fout; f = "in.txt"; o = "out.txt"; cout << "Input filename" << endl; cin >> i; file_c = i + f; file_d = i + o; …

Member Avatar for hsma
0
145
Member Avatar for ankit_the_hawk

I have been trying to concatenate two strings declared in the form of pointers i.e. [CODE] char* chars; [/CODE] But the program crashes... Here is the code: [CODE] char *chars1="ankit"; char *chars2="sameer"; char *temp; int i; for(i=0;i<len;i++) { temp[i] = chars1[i]; } for(int j=0;j<len2;j++) { temp[i] = chars2[j]; i++; } …

Member Avatar for Ancient Dragon
0
103
Member Avatar for jimJohnson

I was sick the day on our review for this programming assignment so I am in kind of a dillema with a jerk for a professor...What I am going to do is after each section show you guys what I have and I don't think I should have too many …

Member Avatar for jimJohnson
0
185
Member Avatar for jimesten

I've been away from sql for quite a well and need a little push to get restarted. Need to report out of a single table, with values coming out of only two columns. Need to group items from column 1 as the left column in the ouput table with totals …

Member Avatar for jimesten
0
101
Member Avatar for Phan

Hey, everyone, I am another student seeking help for a programming class. What I am having trouble with specifically is reading from a file. The program itself involves entering in some store products with information such as: product name, product ID, etc. After everything is entered, the program is supposed …

Member Avatar for vmanes
0
109
Member Avatar for wsn

Hi, I'm trying to make this code works but with no luck so far, I have two problems 1. I'm reading from a file lines and then executing them but the last line goes into an infinite loop 2. Another problem is I don't think I'm using "wait" properly as …

Member Avatar for wsn
0
101
Member Avatar for Kusno

Dear all, I have query like this : SELECT ID, NAME, BEGINNINGBALANCE FROM TRXBUDGET ORDER BY ID BEGINNINGBALANCE is numeric field type in MySQL. Jasper Report / iReport recognizes this field as String, when I change the field type to Double, raises error like these : net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file: 1. Cannot cast from String to Double value = (java.lang.Double)(((java.lang.String)field_BEGINNINGBALANCE .getValue()));//$JR_EXPR_ID=14$ <----------------------------------------------------------------> …

Member Avatar for Kusno
0
305
Member Avatar for lostandfound

Having braved the task that is getting mySQL6.0 installed onto my machine, after listening to the preferences voiced by database users everywhere I was delighted when I finally got down to a bit of a play!!! The problem I found almost immediately, was that a lot of the returned results …

Member Avatar for peter_budo
0
84
Member Avatar for severman

hi all i have this code and now i need to print it char yes and char no i.e.- the sentce is my-second-exercis and now i need to print it m-eod-xri how do i do that? then i need to print the first sentence backwords how do i do that …

Member Avatar for sDJh
0
153
Member Avatar for StepIre

Hi Guys, Sorry if this is so stupid but i just cant get it to work!! Basically if the user enters in a number of words: ------------------------------------ input: my name is i want output to be: mynameis ------------------------------------ or ------------------------------------ input: word one word two i want output: wordonewordtwo ------------------------------------ …

Member Avatar for sneekula
0
279
Member Avatar for jaasaria

hi guys... i have an urgent problem please give an idea about it.. Question#1: I want to know the correct date syntax in query database using MySQL... Question#2: I currenly using the MySQL connector/OBDC 3.51 is their any problem about it?? thxx in advance.... and ned asap reply... thxxxxxxxxxxxx guyzzzzz..

Member Avatar for awny56
0
94
Member Avatar for nilesh03

My problem is that i've got an input file which contains information about universities, contains string, integer, floating points types also... Here is the first three lines of the file, how could i for example sort it by institution name?? Each column is separated by the tab character... Please help …

Member Avatar for Ancient Dragon
0
109
Member Avatar for baku

I need some ideas: The called program gets as parameters two or more integers and and returns 0 if all pairs of two are relatively primes, and 1otherwise. The callee shall read a sequence of numbers and tell whether they two by tworelatively primes.

Member Avatar for baku
0
64
Member Avatar for M1A1

fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory I'm using Visual C++ 2005 with MSDN. Can anyone help me figure out the problem? [code] Build Log Build started: Project: Login Server, Configuration: Debug|Win32 Command Lines Creating temporary file "c:\Documents and Settings\Matt\Desktop\eROSE2\Login Server\Debug\RSP00000160004664.rsp" with contents [ …

Member Avatar for Darkkal
0
256
Member Avatar for gazoo

I have this little program that assign seat for ailine passenger, it's work, but I want to add so that it display the name of (passenger = seat number) so far I only got it to display the passenger name in the spot of that seat number. I try set_num …

Member Avatar for gazoo
0
222
Member Avatar for dakrous

I'm really knew to this programming thing, and need a little help. My objective is to read data from a file like 2 2 0 0 wwdd 0 1 wwxd 1 0 ddwd 1 1 ddww I have read the file line by line, but I do not know how …

Member Avatar for dakrous
0
125

The End.