199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for bmcutler011

[code]#include<iostream> #include<fstream> using namespace std; int main() { dnode<double> *listA = new dnode<double>; dnode<double> *listB = new dnode<double>; int val1; //first set of integers int val2; //second set of integers ifstream inFile; //declares the inFile //Read in a file to build the two lists inFile.open("lnkList.in"); //Open the input file //statement …

Member Avatar for Ancient Dragon
0
105
Member Avatar for sivak

i have 3 tables student table roll no name sub table roll no subid subname markstable roll no subid marks 1)select name,subname,marks whose having marks less than 40 2)select sub name,marks whose having avg above 60% 3)select rank of each student can any one tell me the query for that

Member Avatar for nmaillet
0
73
Member Avatar for Joe Hart

Hi, Below is my code. Hopefully it is in the correct format. I would like to know how to ask the user the dir and file name of certain file formats (they are red in the code) and have the program take those answers and put them into the program, …

Member Avatar for shadwickman
0
167
Member Avatar for OmniX

I have been trying to research this in my spare time for the last few weeks now and everything turns a blank. Yes I can restrict input in IE but in FF I cant. I am looking to restrict input based on alpha, numeric and special characters only - in …

Member Avatar for LaLuz
0
794
Member Avatar for stuwer12

Hi, I have a problem with an insert into ms sql(web-based). I keep getting an error Microsoft OLE DB Provider for ODBC Drivers error '80040e14' [Microsoft][ODBC SQL Server Driver][SQL Server]Incorrect syntax near ';'. /admin/dataentry2.asp, line 147 the actual code the asp page is [code]function addRecord() v_Name = replace(Request.Form("Name"), "'", "'") …

Member Avatar for stuwer12
0
175
Member Avatar for dreamluverz

How can you pass values from nonpc games like xbox, psp, etc to webservers? I heard you can do it via xml? And how about posting values like POST? Is it also possible?

Member Avatar for Will Gresham
0
96
Member Avatar for grisha83

Hello, I am having a hard time with understanding arrays and most importantly implementing them in methods and etc. Does anyone know a good source to learn about arrays from a to z? I m looking for things like book, website or some other media. I do know about Sun …

Member Avatar for llemes4011
0
274
Member Avatar for breatheasier

Hi, I've got some c++ code(which i don't have much experience in). I'm trying to write the same code again in python but i'm not having much luck. The c++ code creates an array of x,y co-ordinates: [code=c++] for (double ix = 0; ix < nlat; ix++) { for (double …

Member Avatar for vegaseat
0
269
Member Avatar for apollo1492

im doing this code and it needs the absolute value of something here is what i have so far. the formula it gives you is x = absolute value of the square root of radius squared minus the y-intercept squared. this is the bit of code i have so far …

Member Avatar for apollo1492
0
131
Member Avatar for cameclifton

[code] import java.util.Scanner; public class encryption { public static void main (string[] args) { int temp, first,second, third, fourth,encryped; int a = first,b = second,c = third, d = fourth; int a = c,c = a; int b = d,d = b; System.out.println("After swapping a = " + a + …

Member Avatar for BestJewSinceJC
0
1K
Member Avatar for deepakyadav1830
Member Avatar for BestJewSinceJC
0
253
Member Avatar for dreamygirl

Hi guys, I'm taking web design as a minor and currently Im doing my project on this subject . My idea was about an Educational Website for kids I'm almost done with the whole website I just need a lil help with this part of a page: [IMG]http://up.mrkzy.com/images/images/50ivlmtx9o05htzlwi8.jpg[/IMG] The idea …

Member Avatar for essential
0
183
Member Avatar for GeorgeFarr

I am connecting an access mdb format and cannot display the values from the database table onto a form in vb . I need also to enter values to the same database. I appreciate any help anyone can provide as I am new to all this. I did the same …

Member Avatar for c0deFr3aK
0
86
Member Avatar for Josh Connerty

I have done these scripts a thousand times. I still however can't seem to sort out this issue. The issue is that this block of code should return 3 images although it doesn't it only returns one image. The other one I am getting is from a different loop that …

Member Avatar for somedude3488
0
108
Member Avatar for ashkash

I have an array with 6 items and I need to generate all permutations of lengths 4, 5, and 6. For example, if my array has a, b, c, d,e, f then permutations of length 4 would be: abcd abce abcf ... pemutations of length 5 would be: abcde abcdf …

Member Avatar for ashkash
0
194
Member Avatar for Sky Diploma

Hey all, I have decided that in order to learn i will need to write code. So i am working on all the questions on my book. And as I am teaching myself i end up with no-one to scrutinize my code. [code=c++] #include <iostream> /************Declarations of Functions*********/ void func1(); …

Member Avatar for lqdo
0
358
Member Avatar for mini programmer

Hello to every body I hope every one keep in best state. I want to help me in solve this problem in my Sheet IN TREE structuring If I use pointer to root of tree, it make run time error . I need to this pointer in 4 function [CODE]int …

Member Avatar for mini programmer
0
113
Member Avatar for serkan sendur

yeah i am currently working with raima database and there is no forum i can ask about it.

Member Avatar for bhouglum
0
145
Member Avatar for coolkille

Hi. This java script dont work on the second dropdown. The first dropdown rewrights the URL with param. cat. The problem is that the second time it dos not pick up the town param. Please help me im not a javascript persson but trying..... //Mikael [CODE] <!doctype html public "-//w3c//dtd …

Member Avatar for Airshow
0
204
Member Avatar for paulinus

I'm trying to create a simple advertisment booking system for a community newspaper. The paper is published (printed) every two weeks and relies on local small businesses taking out small ads. We want to keep track of all of our customers, and their bookings both past and future. Each issue …

Member Avatar for bigakis
0
131
Member Avatar for sivak
Member Avatar for jojobar
0
113
Member Avatar for JooClops

Hi all. I'm building a website about Fibonacci for school, So I want to put a calculator that will show all lucas numbers or fibonacci numbers as for the user's decision. I've made the design and everything and now i just need it to work, but I'm pretty lame in …

Member Avatar for JooClops
0
212
Member Avatar for metta123

[code]<?xml version="1.0" encoding="utf-8" ?> <sites id="0"> <siteName>London <groupName>Administration</groupName> <groupName>IT <groupName>IT Sales</groupName> <groupName>Helpdesk</groupName> </groupName> </siteName> </sites>[/code] Above is just a sample snippet to highlight what I am trying to achieve. Basically I just want to have a way to traverse this. But with <divs> attached to each level with an onclick …

Member Avatar for metta123
0
157
Member Avatar for Sky Diploma

Hi all, I have defined a function cat which takes in 2 cstring arguments and returns out a pointer to a new cstring which cocatenates the 2 strings I am having 2 problems with it. the cout statement doesnt work and secondly i get a runtime error while i delete. …

Member Avatar for Ancient Dragon
0
191
Member Avatar for bobber205

Been following ([url]http://codeidol.com/csharp/csharp-network/Asynchronous-Sockets/Using-Asynchronous-Sockets/[/url]) to help me learn the ins and outs of Asynchronous communcation. However, when I pass my "Server" socket to my callback function and when it gets there it says its disconnected. My BeginConnect and EndConnect work ok so far. Below is the appropriate code. What do I …

Member Avatar for Acedia
0
525
Member Avatar for de-de

An amateur meteorologist wants to keep track of weather conditions during the past year's three month summer season and has designated each day as either rainy(R), cloudy (C) or sunny (S). Write a program that stores this information in a 3x30 array of characters, where the row indicates the month …

Member Avatar for Ancient Dragon
0
2K
Member Avatar for eyewirejets

I have a subclass with 4 attributes and a subclass with 3 attributes. I want to store my subclass instances in a list. Can I have one list for both of them or do I have to create another list because the number of attributes is different? Thanks !

Member Avatar for targ
0
93
Member Avatar for strickenUK

The program is suppose to write and then read data from the binary file and use seekg to display specific data depending on what is entered by the user. It displays the correct information when 1 is entered but not 0. Any help would be greatly appreciated. [CODE]#include <iostream> #include …

Member Avatar for strickenUK
0
852
Member Avatar for rane_

Hi guys, I have read a lot of posts here for the same problem but I just can't seem to identify the problem in my code (im only a wannabe geek so please use laymans) Parse error: syntax error, unexpected T_STRING in /home/content/w/e/i/weightlosscand/html/sqz2.php on line 65 here's line 64-66 [code]<input …

Member Avatar for rane_
0
148
Member Avatar for christiangirl

Hey, So I am having this problem with this code. I think the problem is that shortpath[0].distance is being set to 0, and so never going into the if statement of updatepaths() therefore messing up the whole program. But I don't know why it is being set to 0. Here …

Member Avatar for christiangirl
0
134
Member Avatar for llemes4011

What is javascript? I've heard of it, but never looked into it. what can it do?

Member Avatar for llemes4011
0
37
Member Avatar for devYW

Hi there, I need to normalize the following structure: Wall covering wood (category) (Product)-----(Models)-----(Prices)(Measurement) Log Cabin-----5/4 x 6------1.85$/square foot-----0.80$/linear foot Log Cabin-----2 x 8--------3.00$/square foot-----1.50$/linear foot Log Cabin-----2 1/2 x 8----6.50$/square foot-----3.50$/linear foot Doors (category) (Product)------(Models)-----(Prices) Panel Door------18"----------85$ Panel Door------24"----------90$ Panel Door------26"----------95$ Panel Door------28"----------100$ Panel Door------30"----------105$ Tables (category) (Product)-------(Models)--------Not peinted-----Waxed----Lacquered …

Member Avatar for devYW
0
519
Member Avatar for Lukezzz

I wonder for the folder: C:\\WINDOWS\\system32 What I try to do in C++ is to create and read a file from this folder by using this call to that specific folder. [code] System::Environment::GetFolderPath(Environment::SpecialFolder::System) [/code] What my question is, is if this folder can be locked at some computers. Is it …

Member Avatar for Lukezzz
0
195
Member Avatar for lorayyne

I can't get the math to work in this program. The 'coinflip' flips a coin until it finds either the sequence heads-tails-tails or heads-tails-heads. My issue is that when I run it, the program will perform way more trials than told, and will only account for a random few in …

Member Avatar for woooee
0
214
Member Avatar for cassie_sanford

I am supposed to be working on this problem that stores info in a 2x20 array of characters where the row indicates the month and the column indicates teh day. We have to read in from a file and then create a report that displays for each month and for …

Member Avatar for mini programmer
0
569
Member Avatar for amerninja2

1. Can it be used in a C++ program other than with HTML? 2. Can a program communicate with a website with it? -Program update check? -Stream video/picture? -Send Text to website which is instantly displayed to users?

Member Avatar for amerninja2
0
90
Member Avatar for Trinimini

Hey, I'm relatively new to C++, started a few days ago and I'm new to this forum community as well. I made a simple program where the computer asks you for your name, then age, followed by your hometown and your occupation (in that order). It works fine, but there's …

Member Avatar for Trinimini
0
110
Member Avatar for LucyB

Can anyone recommend a good resource for revising for my c++ exam? Thanks

Member Avatar for hawash
0
106
Member Avatar for Crago3

[code=cplusplus] #include <iostream> #include <iomanip> using namespace std; int main() { char again; do { // Define the varibles char letter = 0; // Tell them to enter a lower case. cout << "Enter an lowercase letter: "; cin >>("%c", &letter); // Check whether the input is lowercase and // …

Member Avatar for tux4life
0
256
Member Avatar for dudegio

Hello everyone! Anyone has an idea of reading barcode using a handheld scanner attached to computer. Data being read from the barcode image will be displayed in text area. Any reference you can give is very much apprecciated. Thank you very much.

Member Avatar for Airshow
0
193
Member Avatar for mreynol5

I can not remember how to use the C# equivalent of "FIND" to locate a character's position in a string. Once I find the position I am searching for a Substring method to extract up to that. Can anyone point me to some documentation?

Member Avatar for ndeniche
0
159
Member Avatar for legendarya49

I'm trying to determine if the characters in the maze can escape, the characters are labeled by their initials except for D which is the door here is the input data: 11 13 7 10 XXXXXXXXXXXXX X JX AX X XXXX XXXXBX X X X SX X X X XXXX …

Member Avatar for jephthah
0
204
Member Avatar for gyu12345

hi guys, need help urgently on extracting data from text file and compute it. i'm suppose to sum up the highest temp and divide them by 7 to get an average decimal. only display data on compiler without calculating the average sum. ok here is my code. #include <iostream> #include …

Member Avatar for tux4life
0
153
Member Avatar for quetzal_7

Hi all, Ok, so I obviously have an issue with how I'm thinking about accessor methods. In the following code, why are the printed out values equal? MyClass.h: [code] #ifndef MYCLASS_H_ #define MYCLASS_H_ using namespace std; class MyClass { friend ostream &operator<< (ostream &stream,MyClass const &rhs); public: MyClass(); MyClass(int); MyClass(MyClass&); …

Member Avatar for quetzal_7
0
112
Member Avatar for Jarrex

So for my last assignment i have to create a program that allows the user to input 100 foods, enter calorie amount and then using bubble sort and binary search it has to be able to display them back to the user. I have all of this done except the …

Member Avatar for SLORE
0
327
Member Avatar for transplantedNYr

I am new to java and many of the nuances to this language. For my class assignment we need to finish our methods which I have already done and do not want any help with. What I need help with is reading the data from the file with in "main". …

Member Avatar for transplantedNYr
0
160
Member Avatar for FandaR

Hi, i need to school some C code. Requirements are: Use in code some Functions with parameters, pointers, strucutres and global and private variables. Dont you have some code for it? I havent time to do it. Thank You very much.

Member Avatar for Narue
0
83
Member Avatar for klactose

Hi, I am trying to make a gui in which I import and combine 4 seperate classes JPanel classes that I made into one interface. But I am running into an obstacle that I am uncertain about. Here is the situation: 1. I have container using a BoxLayout that has …

Member Avatar for klactose
0
179
Member Avatar for esesili

Hi all, I am trying to write a simple program but I am having an error message that I am working on it for three days. The aim of program is to convert entered value depending on the clicked radio buttons. Please can someone help me about it ? Thanks, …

Member Avatar for JamesCherrill
0
149
Member Avatar for faniryharijaona

Hi All, I've got a problem with the python class. I want to create a list of object of type obj() and link them such that the next of one object is the next in its place order. I tried this construction [code] class obj: ------def __init__(self,cargo=None,next=None): ---------------self.next = next …

Member Avatar for faniryharijaona
0
111

The End.