199,112 Archived Topics
Remove Filter ![]() | |
| |
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 … | |
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 … | |
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 = … | |
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? | |
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 | |
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 … | |
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 … | |
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) … | |
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, … | |
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 … | |
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? | |
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 … | |
![]() | 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. |
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 … | |
can anyone tell me about send keys.....if possible attach a small code also | |
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.... | |
How would you click a submit button on a form using winsock? thanks for any help | |
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 … | |
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 … | |
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)---> … | |
[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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 = … | |
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 … | |
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 … | |
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 … | |
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 … | |
Does Python have something like peek(memory) and poke(memory) of other languages that read and write to memory addresses directly? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 = … | |
How can I store a javascript variable in jsp session | |
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 … | |
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 … | |
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 … | |
: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 … | |
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 … | |
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 … | |
why does everyone gets so heated up..when it comes to turbo C++ compiler...can someone give me reasons | |
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 | |
What are the ways to find substring in string in Python? Which way is most effiecient? | |
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 … | |
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 … | |
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 |
The End.