199,112 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for SpS
Member Avatar for Narue
0
154
Member Avatar for mina1984

i need help on a program that uses zenos series which calculates the sum of the first N terms of Zenos series, where N is what the user inputs. it should be a number 1 and 15 (inclusive). program should print n terms of the series seperated by + and …

Member Avatar for Ancient Dragon
0
122
Member Avatar for SpS

Why in C++ passing a pointer is not termed as a parameter passing technique.....Is it because it has a flaw of some kind i.e. address is not reflected back/we can change the address in called function..is that so...if that's the reason....then we can pass it as const pointer as a …

Member Avatar for Ancient Dragon
0
198
Member Avatar for mym

I need help with finding the minimum value of x but I can't seem to get the code right. Please Help. Noob :sad: [code] #include<iostream> using std::cout; using std::cin; int main() { int x; // x is the duration of the call double sum; int number; double average; sum = …

Member Avatar for kimw
0
197
Member Avatar for TheSkunkMan

Ive been trying to make a game recently but all pygame windows freeze. i have to use the Task Manager to exit. I also have to use it to exit a fullscreen too. All im doing in my code is opening a blank screen. How can i fix that?

Member Avatar for TheSkunkMan
0
4K
Member Avatar for kahaj

What purpose exactly does scaling / shifting rand values serve? The book I'm learning from really doesn't seem to explain what these actions do. -Clifton

Member Avatar for kahaj
0
270
Member Avatar for grandfilth

I've looked in a couple of books, and can't find this anywhere, i'm looking for the opposite of the cos funtion, i.e. I know the cos of the angle, and need to know the actual size of the angle, is there an implicit function? If not, how can I achieve …

Member Avatar for grandfilth
0
525
Member Avatar for sintesia

I developed some applets that at a fixed interval, say 1 second, update a value on the page. The pages with the applets are displayed in a frame, and the frame page structure has one frame on the left, with the menu links, one frame on the bottom, with another …

Member Avatar for sintesia
0
197
Member Avatar for Jackiemonster

I have a project to do for my CMPT 120 Class. And it's using basic python coding. I'm trying to write my name out with block letters. 'JAX' I need to use for loops and i'm stuck on my X here's the code for it [code] def x(n): t3=turtle.Pen() t3.left(60) …

Member Avatar for vegaseat
0
174
Member Avatar for Acidburn

Basically I've got a const string (it stays the same lenght) Only trying to implement it into OOP. heres the constructor: [php]score::score(void) { lives = 5; char * end = { " --------------+-\n" " + |\n " "+ ?\n" " +\n" " +\n" " +\n" " +\n" }; strcpy( death, …

Member Avatar for Stoned_coder
0
145
Member Avatar for winbatch

Hi, I have a program that needs to perform billions of loops. I want to print out something to the screen for every certain number of iterations (ie let's say 1 million). Because % is only suposed to work for integers, how do I get the equivalent functionality with long …

Member Avatar for winbatch
0
115
Member Avatar for mahes_

hi ...I am tryin to do this methods homework...I have to have a system.println for a void method..I know u cannot have a return for void method..but can u have a system.println in the main method for the helper void method?

Member Avatar for mahes_
0
6K
Member Avatar for Slavrix

well, ive been using VB6 for a year now, but i cant get this to work i have 3 txt boxs, and a cmd button, and a timer thingy(dont know how to use timer yet :P ) it needs to count down in seconds, min and hours. this is the …

Member Avatar for Slavrix
0
367
Member Avatar for frank_hfc

is there an exception type in c++ like the NumberFormatException in java? i'm looking to use a try/catch to do type checking after a cin input from the user.

Member Avatar for Stoned_coder
0
706
Member Avatar for Shon05

I have a fortran program where I am suppose to write a set of java classes that implements some accounts and the required transactions and a main test program that exercises the classes based on the specified information we have. I can't put all the info up here bc it …

Member Avatar for Shon05
0
156
Member Avatar for SpS

can anyone tell me about send keys.....if possible attach a small code also

Member Avatar for The_Inferno
0
316
Member Avatar for user777

Dear programmers, Could somebody write code for this project please. For search option, I need to search by delivery date or invoice date (like: From 05/05/2005 to 01/07/2005). Thanks for any help....

Member Avatar for The_Inferno
0
124
Member Avatar for cx323
Member Avatar for The_Inferno
0
106
Member Avatar for TraderX

Hello all... I am completely brand new to vb and could some guidance as to where I should go to start to learn. I am only trying to create a simple Pivot Points calculator (used for trading stocks, currencies (which is what I do)). I have found some on the …

Member Avatar for The_Inferno
0
298
Member Avatar for Toulinwoek

In preparation for the release of REALbasic 2005, the company is giving away the Standard version of the current release (REALbasic 5.5) It's not as deep as even VB6 as far as the range of properties for each object, but it's a pretty nice tool anyway. You can get a …

Member Avatar for The_Inferno
0
255
Member Avatar for cumadhu

Hi All, I have specific requirement in asp.net project. I have datagrid, in that in have one dotnet list control which stores the items.And it is multiselect. Onclicking >> button i want to move selected items from dotnetListControl to HTML Select(listbox) control. In DataGrid: [B]DotnetListBOX Control(i multiselect few items then)---> …

Member Avatar for akadez
0
173
Member Avatar for ! !

[indent] [color=darkslateblue][b]Sun Microsystems and Google plan to announce a collaborative effort that some analysts speculate could elevate the profile of the OpenOffice.org and Java software packages.[/b] [/color] [color=darkslateblue]Details won't emerge publicly until Google CEO Eric Schmidt and Sun CEO Scott McNealy take the stage on Tuesday at a news conference …

Member Avatar for ! !
0
142
Member Avatar for grandfilth

HI, sorry if this is really thick, but I'm abit stuck...I have written this piece of code as part of a bigger function: If Z = 1 Then SIDE = W - (V / 3600#) End If If Z = 2 Then SIDE = W + (V / 3600#) End …

Member Avatar for w00dy
0
169
Member Avatar for stupidenator

Hi everyone, I am writing a summation program for a programming class I am taking. The assignment's main purpose is to give me practice writing functions. I have gotten the functions down just fine, but I can't seem to figure out how to write the inside of the summation function. …

Member Avatar for stupidenator
0
310
Member Avatar for SpS

We cannot have static friend function...is it because 1.since static member functions can access only static data members...whereas friend function can access all the members. 2.friend function also require an object to access the members...wheeras static member functions can not. 3.One more thing....since friend functions are non-member functions....and static functions …

Member Avatar for Stoned_coder
0
189
Member Avatar for xav.vijay

Hai friends I have a small problem with my code... I want to copy an existing file (its a model MS Excel file) to a new file & name it with the current date... First I tried to create the model Excel file, but when I opened it, it had …

Member Avatar for xav.vijay
0
317
Member Avatar for Killer_Typo

heres the complete error that i am getting. You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'A (A) )' at line 1 does anyone else get these errors at all? [php]<?php $host = …

Member Avatar for tubajake711
0
372
Member Avatar for gracin

Sorry for confusing the issue by including the Format source code (I did not realize all structure format would be lost on the web site). The basic issue is this. I have a very small project (3 files). From one routine I can easily make a call to a printing …

Member Avatar for gracin
0
249
Member Avatar for LA-Vida

Hi all, I'm kinda new to all this stuff so maybe I'm totally starting off on the wrong foot here... Here is my problem.. I have an acces database residing on the webserver from where I get some information onto my webpages, these pages are asp. The database connection and …

Member Avatar for LA-Vida
0
270
Member Avatar for imest

I am using Visual C++ 6.0 and I am trying to use an if else statment but unable to resolve error. Here is the code: [code]/*--------------------------------------------------------*/ /* Program Homework 3_3 */ /* */ /* This program computes the roots of a */ /* 2nd degree polonomial */ #include <stdio.h> #include …

Member Avatar for imest
0
153
Member Avatar for bybruno

hi i try building a bandwith monitor with the report of total connections to/from my pc so far i do a report of ip source/destination but now i want to know the lenght of data that belong to each ip. for example: i want to know de down/upload of each …

Member Avatar for srjtpl
0
161
Member Avatar for bumsfeld

Does Python have something like peek(memory) and poke(memory) of other languages that read and write to memory addresses directly?

Member Avatar for vegaseat
0
123
Member Avatar for ToySoldier

Hi... thru trial & error.. I managed to get my homework program to compile. However I'm pretty sure I did it the long way :-| . **Can someone give me a direction to make it easier?** Brand new to C++ so bear with me. I have enough to make the …

Member Avatar for ToySoldier
0
175
Member Avatar for btech

the assignment i am working on ask to write a function that uses a loop to find the sum of the squares of all integers between 1 and n. then asks "what is the order of your functions?" my question, which may be obvious is what is n? and what …

Member Avatar for Dave Sinkula
0
159
Member Avatar for shanenin

I would like to write an application that would search a site like "minitorrents.com" and automatically download torrent files of tv shows I like. I am thinking urllib.py might be able to do something like this. I need to be able to use the search feature of "minitorrents.com", then recursivley …

Member Avatar for shanenin
0
269
Member Avatar for mforeman

Hello, I’m trying to increment numbers in a file – for instance, I would like to change the below 3 lines in a file by incrementing the numbers by 2 (or whatever the user gives). Mikef<20:40> JoeyS<23> Samt<14:39> So the end results should look like this: Mikef<22:42> JoeyS<25> Samt<16:41> I …

Member Avatar for mforeman
0
163
Member Avatar for bsmith

I'm trying to set a 301 redirect in my jsp code (this is tomcat btw) using this: <% response.setContentType("text/html"); response.setDateHeader("Expires", 0); response.setHeader("Location", "http://www.mysite.com/record/[B]pleasehelpme[/B] /[B]helpmeheretoo[/B]"); response.setStatus(301); %> the [B]pleasehelpme[/B] and [B]helpmeheretoo[/B] need to use variable values i get from mysql which i would normally express in the application like <%=(((Recordset1_data = …

Member Avatar for hooknc
0
201
Member Avatar for muktidaniweb
Member Avatar for UriahDragon

i'm supposed to use nested for loops to estimate the value of e and display the estimation through each run. this is what i got so far, but i found out im not supposed to use setprecision so i've done it wrong but don't know what to do to fix …

Member Avatar for CrazyDieter
0
119
Member Avatar for yarlini

Hi ive had to write an emulator for a specific MIPS program in C, but i also need to either single step through the emulator one instruction at a time or simply let it run, at the moment its running, but im not sure how i can step through it …

Member Avatar for CrazyDieter
0
149
Member Avatar for md_salman

although this question is basically related to a data structure, still I think that a good progrmmer should be able to answer it. My question is that [B]"is it possible to determine the order in which some ( numbers or characters etc ) are arrived for insertion into a min …

Member Avatar for ITgeneration
0
158
Member Avatar for reelbrokers

:p [URL=http://www.reelbrokers.com]http://www.reelbrokers.com[/URL] IT Division of [url]www.ReelBrokers.com[/url], focuses on providing comprehensive and Cost Effective solutions in internet based Offshore Programming, Software Development, Web Application Development and Multimedia Presentations to Entertainment Companies and Film Professionals across the Globe. [url]www.ReelBrokers.com[/url] provide creative and cost effective array of IT solutions from concept to implementation …

Member Avatar for chrisranjana
0
226
Member Avatar for Skyline_GTR

I am very new to python and I have this code that I wrote... I am trying to make it so the turtle will bounce if it touches any of the box.. but somehow the turtle does not fuction the way it suppose.. I wonder can anyone give me a …

Member Avatar for Skyline_GTR
0
568
Member Avatar for madt

program does not return the value entered #include <iostream> using namespace std; class testClass { public: int sum(); void print() const; testClass(); testClass(int a, int b); private: int x; int y; }; int testClass::sum() { int c; c = x + y; return c; } void testClass::print() const { cout …

Member Avatar for madt
0
145
Member Avatar for SpS

why does everyone gets so heated up..when it comes to turbo C++ compiler...can someone give me reasons

Member Avatar for Rashakil Fol
0
172
Member Avatar for tayspen

I have scoured the I-net and cant find how to read MpEG-4 i finnally got it to read mp3's. Now i must move on to add mp4. Any ideas? -T

Member Avatar for tayspen
0
145
Member Avatar for bumsfeld

What are the ways to find substring in string in Python? Which way is most effiecient?

Member Avatar for shanenin
0
219
Member Avatar for tidus0728

hi I have a problem working a project for my school assignment but I keep getting this error and I have no idea what the problem is. Can anyone tell me what is wrong with it? the erroe messeges are Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at SearchGui.showResults(SearchGui.java:46) at SearchGui.invokeSearch(SearchGui.java:76) at …

Member Avatar for hooknc
0
97
Member Avatar for ashwinperti

Sir, I am having problem that when I use <HTML> </HTML> and include <?php <php?> in between the HTML tags, if I am saving the file with .php then I can view only the PHP tags and not the HTML tags elements. Please tell me whether to save the file …

Member Avatar for sarahk
0
138
Member Avatar for steveaustin

i need in c++ for running in a compiler this 1 12 123 1234 12345 123456 and another c++ file 654321 54321 4321 321 21 1 everyone can help me i need a code for running in c++.net i need exactly in the output

Member Avatar for Narue
0
128

The End.