199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jazzyangelz

Hi.... I'm a beginner at this programming thing and I need some help using nested for loops this is an assignment i have to do for my class, basically the output should be something like this.. the characters depends on what the user inputs and how many rows the user …

Member Avatar for jazzyangelz
0
96
Member Avatar for davidegan

This is my first forum post ever, so I'm not sure exactly how it works. I'm looping through the code below to create a list of links that will open a new window with information about an event. The code below seems to work fine in firefox but displays very …

Member Avatar for serkan sendur
0
168
Member Avatar for OmniX

Is there a command to empty a table? or would I just use a SQL statement in conjunction with a query statement? If so is this the correct syntax [code=php] $table = "abc"; $sql = "DELETE FROM $table WHERE *"; mysql_query($sql); [/code] Would that delete every row in table abc? …

Member Avatar for OmniX
0
205
Member Avatar for radhika_kodam

i have assignment on java class. plz help me the assignment problem is:Create a class Rectangle with 9 methods: 2 constructors, 3 mutators, 3 accessors, and area. plz help me.

Member Avatar for stephen84s
0
141
Member Avatar for afg_91320

i have this code where i have to take user input of sales and display it as a chart. (see code/sample run below) my problem is if the user enters like $923.89, it should round down to $900 -but with the code i have, it moves it up to 1000. …

Member Avatar for Ancient Dragon
0
73
Member Avatar for Kusno

Dear all, Does someone know how to connect to SQL Server by using Remote Method Invoke (RMI) ? I have project from my lecturer to create program as its connection to database uses RMI or socket. Thus far, I only know to connect to database by using OLEDB and ODBC. …

Member Avatar for Kusno
0
66
Member Avatar for FtKShadow

Alright I have been working on this game for like a week or 2 now, but I am having some trouble towards the end. Heres the code I have gotten so far: [code=c++]#include <iostream> #include <ctime> #include <cstdlib> using namespace std; char play; int guess; bool done; int noOfGuesses = …

Member Avatar for FtKShadow
0
161
Member Avatar for rrreeefff

I am working on printing a loop statement. I worked on this to try the concept: [code=cplus] #include "stdafx.h" #include "stdio.h" int main() { int times,num; for (times=1; times<3; times++) { for (num=1; num<5; num++) { printf("%d",num); } printf("\n"); } return 0; } [/code] What I need is to print …

Member Avatar for Ancient Dragon
0
97
Member Avatar for jaimitoc30

Hi, I need to make a client which post an XML via HTTPS to a server. Everytime I run the process this is what I get back: [code] <?xml version="1.0" encoding="UTF-8"?> <wsdl:definitions targetNamespace="http://com.seven.relay.web.soap" xmlns:tns="http://com.seven.relay.web.soap" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="http://soap.web.relay.seven.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc11="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenc12="http://www.w3.org/2003/05/soap-encoding" xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> <wsdl:types> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://soap.web.relay.seven.com"> <xsd:complexType name="CreateAccountSubscriptionRequest"> …

Member Avatar for gReaen
0
145
Member Avatar for shadwickman

Hello! I've run into a slight problem with my script. As I iterate through a list of strings, I need to print each string, but they all need to print on the same line, so I used this: [code=python] for item in myList: print item, [/code] The comma puts each …

Member Avatar for shadwickman
0
141
Member Avatar for NayNay33

I need help with a homework assignment. The assignment is to take a paragraph from an infile and change the words French into Freedom. Also when the phrase "an arbitrary end point" is seen I need to end the paragraph. And also if an integer if present the integer needs …

Member Avatar for NayNay33
0
136
Member Avatar for chunalt787

I am trying to compile my program and I am getting alot of these errors: [CODE]Parser.cpp:9: error: stray ‘\200’ in program Parser.cpp:9: error: stray ‘\231’ in program Parser.cpp:9: error: stray ‘\342’ in program[/CODE] That sequence of three lines just keeps repeating and repeating. These are lines 8 and 9 from …

Member Avatar for stilllearning
0
150
Member Avatar for justted

Hello, I am really really stuck on a small project im working on and have been at it now for the past 12 hours. lol I am trying to set up a restrcited page for my admins and have the following: [code] $find_access = fetch ("SELECT * FROM job_roles WHERE …

Member Avatar for justted
0
181
Member Avatar for dtaylor01

Can someone run my code template to see what's wrong? [code=cplusplus] #include "stdafx.h" #include <iostream> using namespace std; int _tmain(int argc, _TCHAR* argv[ ]) { int a = 40; //No. of hrs worked during week float b = 12.75; //Pay rate: dollars per hour float c = 510; //Weekly wages …

Member Avatar for stilllearning
0
113
Member Avatar for san_sarangkar
Member Avatar for stilllearning
0
169
Member Avatar for amerninja2

[COLOR="Red"]Im using the Dev-Cpp compiler. Im trying to create a program like the one below...[/COLOR] [CODE]#include <iostream> #include <windows.h> #include <stdio.h> #include <iomanip> #include <fstream> #include <stdlib.h> using namespace System; using namespace System::IO; using namespace std; int main() { string *com2; wchar_t com; char loop; loop = 'a'; while(loop = …

Member Avatar for Ancient Dragon
0
132
Member Avatar for flynismo

I just started a site, and would like to make some dummy profiles. The script I'm using included a profile generator that would assign usernames, age and location (city and state) of the "members". The problem I'm having is that the profile generator assigns a city, but not the corresponding …

Member Avatar for flynismo
0
181
Member Avatar for Grub

Hi I have a program that has a JTree that lists of all the directories on my computer. I also have a JList in and an add button. Now I am trying to select or highlight a directory in the JTree, click the add Button and then update the JList …

Member Avatar for brianlevine
0
328
Member Avatar for staufa

Can anyone tell me why I'm getting "number 1" as my output when i enter arguments 1, 2, 3. It seems like its always 1 and I don't know why. [CODE]int main(int argc, char *argv[]) { if (argv[1] = "1"){ printf("number 1"); }else if(argv[1] = "2"){ printf("number 2"); }else if(argv[1] …

Member Avatar for staufa
0
91
Member Avatar for serkan sendur

hi guys, i need to have an ide for assembly development on vista 64 bit operating system. i am a newbie for the assembly language. any helps will be appreciated. thanks

Member Avatar for Evenbit
0
139
Member Avatar for Phreak

Hi folks, Due to being unable to find a suitable app, i've decided to make a little app (with the help from my trusty DWeb chums) Currently i'm looking at a little app that will allow me to enter a username and password for... whatever purpose really, map drive, shared …

Member Avatar for Phreak
0
1K
Member Avatar for TheBeast32

Hi, I'm reading a bitmap manually to try and make a program that does steganography, but I can't read the file correctly. The headers I read come out completely messed up, and they fail the check to see if I'm reading a bitmap file or not (if (FileHeader.bfType != (int)"BM")). …

Member Avatar for TheBeast32
0
153
Member Avatar for Tootlol

# If balance is private,[B][U] what is the upper bound on the number of lines of code [/U][/B]which must be examined to make the change to the Account class? \ What is the "upper bound on the number of lines of code" referring to?

Member Avatar for brianlevine
0
96
Member Avatar for Aric69

evaluate a given postfix expression containing some one-letter integer variables a-z (in lower case) whose values are given in a data file. the name of the data file will be : c:\\temp\\375_prog4_stack_data.txt and you can hard code this name in your program. there will not be more than 26 different …

Member Avatar for Lerner
0
160
Member Avatar for cam875

I think i am going to use mode 13h VGA graphics. But I have a few unanswered questions about it. 1) What does it mean by there are 4 planes, what are those planes, and why do they exist? 2) For an operating system, would the computer be turned into …

Member Avatar for cam875
0
115
Member Avatar for Entropy1024

I am trying to write a program to store booking info for TV feeds. Most of the program is working fine, it stores all the info I need. One field is duration of feed which I am at the moment adding manually but it would be much nicer if I …

Member Avatar for Entropy1024
0
149
Member Avatar for tatainti55

Alright, i hope someone can give me a straight answer. How do i export integers to another function? Because when i compile and run this code, i get an error telling me: "[code]12 D:\test.cpp `numberr' undeclared (first use this function) [/code] The code i used was kinda like this : …

Member Avatar for tatainti55
0
105
Member Avatar for 3DProf4online

The situation is the following I used phpmyadmin 2.11.5 on localhost when creating databases, but I have phpmyadmin 2.11.6 installed on my hosting account. I am planning to upload databases to hosting really soon and I have some questions about uploading databases to hosting. Can phpmyadmin version difference cause any …

Member Avatar for brianlevine
0
108
Member Avatar for pardeep3dec

Hi friends, I need a programme or procedure which is capable in generating IP or computer name of the system( on which programme is running). Thank you

Member Avatar for Phreak
0
151
Member Avatar for samuelo

Hi i did a shell script. This script is configuration for voip gw's. But i dont upload this output file ( example = ****.ini ) from gw with telnet and commands. how do i need ? This script must be telnet and put confguration mean must read my output file …

Member Avatar for KevinADC
0
97
Member Avatar for nosa2008

i have this function f(x)= e^X-3X^2 I need to write a computer program that find all three roots by the use of newton raphson method and option of finding a root by use of fixed point iteration. this is all i came up with so far.. i need help... [code=cplusplus] …

Member Avatar for Freaky_Chris
0
104
Member Avatar for cassie_sanford

I am a new student in the area with very little programming experience. We are working with arrays in our vb.Net class and I am coompletely lost. Our program has to look up part numbers in order to improve customer service. The user has to enter the part number and …

Member Avatar for timothybard
0
157
Member Avatar for k2k

would anybody please point out what is wrong with the "order table" .. i spent hours and can't figure it out why this simple table won't work. i appreciate it. [code] CREATE TABLE customer( cid INTEGER PRIMARY KEY NOT NULL AUTO_INCREMENT, fn VARCHAR(10), ln VARCHAR(10), phone VARCHAR(15)); CREATE TABLE address( …

Member Avatar for mwasif
0
111
Member Avatar for cherryduck

"Write a program in MIPS assembly language which reads two integers a, b, calculates a^3 + 3ab^2 + 3a^2b + b^3 and outputs the result." My question is, how do I calculate powers of things in MIPS? Also I think I probably need to simplify that equation first...does anyone know …

Member Avatar for cherryduck
0
126
Member Avatar for codered152

hi guys i like to open as many frames user wants to open, i mean they can keep clicking the button and i like new frame keep opening. so this is something i got, now i know i have to use int to keep track of how many frames are …

Member Avatar for brianlevine
0
96
Member Avatar for bharath_prasad

1.Write a class called Student. Data members: name: String; age: int; major: String. Methods: constructor with 3 arguments that initializes all data members; print(): prints all data to stdout in one line, align the printed items in colums, no newline at the end; println(): same as print() but with newline …

Member Avatar for Salem
0
108
Member Avatar for volscolts16

I need to convert 3 Not's, 5 And's, and 2 Or's Gates to just 4 or less Gates?? Thanks

Member Avatar for Salem
0
53
Member Avatar for mrcniceguy

I WANT TO DISPLAY A CERTAIN WORD I STORED IN DATABASE WITH LETS SAY 14 CHARACTERS(LATTERS),NOW I WANT WHILE DISPLAYING IT AFTER REACHING THE 9TH LATTER TO BRAKE. SOMTHING LIKE THIS. MWAKISAMBUKEGE ----- TO GET MWAKISAMB UKEGE If there is apossibility of doing this.Help me please.

Member Avatar for mrcniceguy
0
316
Member Avatar for toucan

I'm writing a C++ project using OpenGL in Microsoft Visual Studio 2005. I already have code for importing a jpeg image, but I don't know how to place it on a plane in 3D so I can view it in either ortographic or perspective projection. Also, how do I set …

Member Avatar for skatamatic
0
111
Member Avatar for dapcigar

I have an assignment in Modular programming.. Have been able to make the program work... the lil problem am having now is that when i try to load the file i created, it keeps adding the memory location. Moe like it's adding an additional data insead of just loading the …

Member Avatar for Salem
0
129
Member Avatar for Tyster

Hi there folks. I have an app that has several classes but for some reason one of these classes isn't giving me a return value. What I want to check is whether or not this code will return the expected string... [code] String seatLayout; public String showAllSeats(String flightNumber){ fn = …

Member Avatar for Tyster
0
207
Member Avatar for bigunn

i was wondering if anyone could direct me to a good beginners book for C# that is good for beginners (basically 0 programming exp) as well as free. I downloaded the free version of visual C# express edition and was hoping to find a very beginning guide of programming with …

Member Avatar for rapture
0
86
Member Avatar for faisal_pedaw

somebody please help me.. can you tell me about struct in C++.. please give me example and explaination..

Member Avatar for skatamatic
0
128
Member Avatar for kavithabhaskar

Hi folks I am new to C++ i tried to reverse the characters in an array [code=cplusplus] #include <iostream> using namespace std; int main() { char kavi[]={'s','w','o','r','d','\0'}; cout<<kavi<<endl; cout<<"now reversing the word"<<endl; int i; while(kavi[i] != '\0') { i++; } cout<<"Length is"<<i; int j; for(j=10;j>=0;j--) { cout<<kavi[i]; } } [/code] …

Member Avatar for skatamatic
0
6K
Member Avatar for mgn2683

I'm not sure if what I am asking can be done. Basically, there are two different user levels of people who have access to list & detail pages. Once user level 2 finishes their evaluation, it goes to user level 3 who OKs the evaluation. The client wants to have …

Member Avatar for R0bb0b
0
92
Member Avatar for positrix

I am facing problems passing an email address to a php file through AJAX. The code I am using is pretty basic but I can't seem to get it to work. Could anyone help me understand what's going wrong? I amd pretty new to Ajax (about 2 days old) so …

Member Avatar for ~s.o.s~
0
270
Member Avatar for eswaran_mca

Hi all, I am working in windows based application. In this application, a form contains 11 panels as 11 rows. I mean 11 panel as one by one. Each panel consits 11 checkBoxes without text only checkBoxes. if I check any one of the checkBox in any row, i need …

Member Avatar for hisheeraz
0
931
Member Avatar for mrcniceguy

I TRIED TO CREATE A SIMPLE WEB ALBUM,SO THAT SOMEONE WILL BE ABLE TO UPLOAD HIS PHOTOS.UPLOADING WAS NOT A PROBLEM. THE PROBLEM IS WHEN I`M DISPLAYING THEM,BCOZ FOR EXAMPLE IF ONE MEMBER HAS 9 PICTURES THEN ONLY ONE PICTURE, I`M MEAN THE FIRST PICTURE TO BE UPLOADED WITH MEMBER …

Member Avatar for mrcniceguy
0
104
Member Avatar for elsa87

hi everyone..i need to crack a symmetric key by implementing a method called CrackSymmetricKey I must use the TEA encryption algorithm below: [CODE=c++] union myMsgType{ unsigned long textConverted[2]; char text[9]; }; class TEA_Algorithm { public: void CrackSymmetricKey(union myMsgType plaintext, union myMsgType ciphertext); void Decrypt(unsigned long k[], unsigned long ciphertext[], unsigned …

Member Avatar for ArkM
0
112
Member Avatar for Gerbilkit

I am working on a project that requires the main system, EmployeeSystem to be able to open a file with JFileChooser, and then write to that file, run a payroll system on it, and search it for a particular employee using a directory system. I am struggling right now to …

Member Avatar for ~s.o.s~
0
129

The End.