199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for usenthil75

I have the problem of splitting the the table into following way. Pl help me in doing it Actual table Product Id ProductQty CompCapacity 1 8000 5000 2 10000 5000 4000 4000 Resultant table Product Id ProductQty CompCapacity 2 5000 5000 2 5000 5000 1 4000 4000 1 4000 4000

Member Avatar for tesuji
0
81
Member Avatar for Onixtender

I've got a question...we all know double arrays a[100][100], but how to change it into linked list or like" linked list to linked list" that we could transfer data like in a double array a[i][j]? 12345.... 2 3 . . . Ideas? Graph>weighted>minimal tree>neighborhood list(yes normally matrix, but i need …

Member Avatar for John A
0
90
Member Avatar for C-+

I am having a problem trying to divide a number. So in my in my program I have a number and I want it to divide it by 10. The problem is that the result is going to be decimal. I run my program I put the number it divdes …

Member Avatar for n1337
0
140
Member Avatar for LevelSix

Question: Write a program that draws a clock face with a time that the user enters in two text fields (one for the hours, one for the minutes). I have Followed my example code, and come up with 3 classes. Clock, which sets the outines for drawing clock objects, ClockViewerFrame …

Member Avatar for LevelSix
0
141
Member Avatar for Lukezzz

I want to delete a Folder that consist of .txt Files. I am trying with this code below but the member :: Delete says that it only can emty an emty folder but this folder contains .txt files. So I wonder what other technique could be used ? [code] System::IO::Directory::Delete( …

Member Avatar for Lukezzz
0
209
Member Avatar for ceyesuma
Member Avatar for ceyesuma
0
154
Member Avatar for Onixtender

Hello, I've got a question how to change this function, because it should read f.e. two lines: 33333n5rr door 3333is closed 3333333 n5rrr [COLOR="Red"]nanana[/COLOR] tt4tt [COLOR="Red"]wall[/COLOR] t6tt6t then transform to: nrr dooris closed nrrr tt[COLOR="red"]nanana[/COLOR]tt t[COLOR="red"]wall[/COLOR]tt[COLOR="red"]wall[/COLOR]t (writing word instead of a digit was: nice ttt5555ttt //to: ttt[COLOR="red"]nice[/COLOR]ttt,deleting digits in first …

Member Avatar for Onixtender
0
142
Member Avatar for calichik

I need help with a RetailStore class. The class is supposed to do this Design and implement a class named RetailStore that holds data about an item in a retail store. The class should have the following private data members: 1. name - a string that holds the name of …

Member Avatar for calichik
0
102
Member Avatar for chrischirowa
Member Avatar for jbennet
0
110
Member Avatar for Magic Hands

I am wondering if there is a way to read an audio file to determine when the beat is greater than a given Hz? Such as every time the bass drum hits it will tell me. I do not have any code yet, I know how to play a simple …

Member Avatar for Magic Hands
0
86
Member Avatar for blacklocist

Hi All, I have a question and can't seem to find a answer anywhere. A normal function can void or return a object. [CODE] public void CoolFunction() { [INDENT]//Some Code[/INDENT] }[/CODE] I know you can do this. [CODE] public int ReturnOneObject() { [INDENT]return intNumber[/INDENT] }[/CODE] What I can't find or …

Member Avatar for ChaseVoid
0
386
Member Avatar for WhYuLoOkIn

This might be a simple fix but I am developing an asp.net website in vs 2008 for some strange reason all of my separate aspx files are now formating at the same time. When I change something in design view in one file the other changes automatically I am new …

Member Avatar for majestic0110
0
113
Member Avatar for Jennifer84

This code Gets the last Write Time from a .txt file. My Question here. [B]1.[/B] When doing that operation. Will this file be opened or is the file closed ? [B]2. [/B]If the file was opened will the file Close automatically after the Check ? [code] CurrentSourceTime = System::IO::File::GetLastWriteTime(SourcePath); [/code] …

Member Avatar for Jennifer84
0
215
Member Avatar for big24fan

I am trying to setup a classifieds script. I think I am getting close, but I have one issue. When I try to open the page, it opens but only displays the first part of the page. If you visit [url]www.clairson.com/ocalads[/url] you can see what it is doing. If you …

Member Avatar for big24fan
0
159
Member Avatar for stonyheng

hi all, Is there a code where i can check from all the existing tables if a certain variables exist in it? I am currently working on a project but the tables are not linked properly, having a hard time trying to find out how many tables actually have the …

Member Avatar for tesuji
0
108
Member Avatar for DimaYasny

Hi Guys, I am self studying BASH, and will really appreciate it if you could share a list of typical assignments, especially if you can rate them from easy to hard. Just want to practice, and I have already scripted everything I needed to on my servers :) Thanks

Member Avatar for eggi
0
131
Member Avatar for k2k

i used vi: %vi shellProgramming and then i typed the shell script in the vi and saved with :wq However, when i run the vi file ...... %shellProgramming my unix says "command not found" why is that? and how do i run the vi shell scripting file? thanks

Member Avatar for eggi
0
161
Member Avatar for Sairobi

okay I need to write a program that will basically be pulling strings from a text file based on what the user inputs. I can make a program run that gets the text file to input to the screen but I am having trouble with jumping around the file. example: …

Member Avatar for Sairobi
0
87
Member Avatar for nnobakht

Hey guys, if im trying to parse a xsd file using the schema class how can i get the simpletype restrictions for a select attribute which i have already found. so if its an enumeration type get the values, or if the patters in [a-zA-Z0-9] to get that. [Code=C#] public …

0
148
Member Avatar for rams111

i want to refresh database(sql server 2005) instantly using c# if anyone does know about the code to solve it please reply me

Member Avatar for majestic0110
0
66
Member Avatar for Cybulski

I'm starting writing class that should read configuration file and initialize some members with data from file. I decided to read this file in constructor. What should constructor do, if something goes wrong, and further construction of object have no sense? For now it displays message: [code] MultiReader::MultiReader(const char* m_sPath) …

Member Avatar for Cybulski
0
98
Member Avatar for RickN

Hi all, Just a general question, if someone asks you to provide a) description of source code b) how to run the program how do you write this? I'm currently taking a C programming course as a beginner and these were ask of me to do. Any help would be …

Member Avatar for jephthah
0
127
Member Avatar for QuantNeeds

The following is my code. I am just getting started in C++ so there are few concepts I am still stuck on. This program works well except for one issue – the data type is integer but it is not catching decimal numbers. In my other programs this worked but …

Member Avatar for n1337
0
81
Member Avatar for NycNessyness

Hello. I asked last week about how to allow the user to only enter in letters. I tried the mask formatter but that's too limited. How can I go about letting the user to enter in any kind of letters they want but restricted to only 25 letters for their …

Member Avatar for Ezzaral
0
119
Member Avatar for nanodano

Hi, I'm trying to write a program using named pipes, and I'm having trouble opening it. In another program I call this line: [code] mkfifo("./fife", 0777); [/code] So my named pipe exists and I see it in my list of files. Then I run the program I included below, but …

Member Avatar for Salem
0
185
Member Avatar for mghmgh

I need to write a program that read of input a number N numbric & calculate N! that's number (should be simulator of multiply into program because us want number N ) & should be Number of character for e.g char s[20].

Member Avatar for n1337
0
293
Member Avatar for Eulerito

Hi... I saw a simmilar problem in this forum, but now i have a new problem.... I want to read string from a txt file: "myfile.txt"..... inside the file: "i want to read this text". then I write: [code=c] LRESULT CALLBACK WindowProcedure(HWND hwnd.... HDC hDC; PAINTSTRUCT Ps; HANDLE hFile; DWORD …

Member Avatar for Asat232
0
117
Member Avatar for ruman_eee

Hi everyone, I hope all are fine. Is there have anyone who knows about shorting a table whose containers are uploaded from the database. Please help:icon_eek:

Member Avatar for rickarro
0
399
Member Avatar for fitzkil

Hi. I was given the task to create an internal website in our company, which will update (feed) from a database (they were talking MySQL). I have no idea if that is possible and what to google for. My first guess was if it is possible it's using php. You …

Member Avatar for ajberrow
0
98
Member Avatar for peachslasher

Hey guys, I need to write a C++ program that use to compare sorting algorithm. I've tried to implement counter on each of <.>, = operations I've encounter in the function (currently i am working on selection sort), however the sum of the counter doesn't really match big O selection …

Member Avatar for Radical Edward
0
281
Member Avatar for dan_e6

hey guys. ive been asked to do this: Write a recursive function which returns true if the linked list is sorted in ascending order. bool isSorted(nodeType *L) why would we use a recursive function to check if it's in ascending order? can anyone help me with this.

Member Avatar for n1337
0
466
Member Avatar for wellibedamned

i'm trying to get the last word of the sentence using strtok.. i tried this :[CODE]while (tok != NULL) { tok = strtok (NULL, " "); if((tok != NULL) && (strtok(NULL, " ")==NULL)) printf("%s", tok); }[/CODE] kinda doesn't work... anyone knows why? Yes, tok is a char * pointer..

Member Avatar for Nick Evan
0
82
Member Avatar for kshrini

Hi All, SELECT * FROM Results WHERE ActualValue NOT BETWEEN Lowerimit AND UpperLimit In my query ActualValue is VARCHAR field. How can I get Results that are out of limit? Shrinivas

Member Avatar for gvalip
0
126
Member Avatar for harsh2327

Hey, I have just upgraded my C++ compiler from old [B]TurboC++[/B] to [B]CodeBlocks[/B] as per Salem's suggestion. [URL="http://www.daniweb.com/forums/post604085.html#post604085"](Check this post)[/URL] But I am finding difficult to work with this compiler for the basic reason of not knowing the in-built functions. Can you please help me with this by listing down …

Member Avatar for tesuji
0
207
Member Avatar for Prasadd

[B]I need a datagrid that has 4 columms & 2 rows. Each cell in that datagrid will represent one row from my database table.[/B] can someone plz giv me some sample code for that ? or any tips on how to achieve the same ??

Member Avatar for jireh
0
136
Member Avatar for menelaussa

Hi, can someone to help me to write an regular expression for a number from 1-100. I need to validate an age field. Thank you

Member Avatar for nandhinijp
0
103
Member Avatar for timdog345

[code] //test SAT /* void initialize (int& verbal, int& writing, int& math) { verbal=0; writing=0; math=0; } void userInitialize (int& verbal, int& writing, int& math) { cout<<"Please enter your verbal score (0-800) "; cin>>verbal; cout<<endl; cout<<"Please enter your writing score (0-800)"; cin>>writing; cout<<endl; cout<<"Please enter your math score (0-800)"; cin>>math; …

Member Avatar for Nick Evan
0
146
Member Avatar for sjgriffiths

Hello I have the following in a variable called TEST echo $TEST result : STEPHEN LTD What i want to do is find out whether there are any spaces in my variable name, and if so do the following STEPHEN%42LTD bascially put a %42 where the space is....any ideas?

Member Avatar for DimaYasny
0
86
Member Avatar for qt.alan

i am trying to load the morsecode.txt into my tree struct but when i compile it i keep getting this errors error C2440: '=' : cannot convert from 'decode *' to 'int *'| error C2664: 'bintree<dataType>::insert' : cannot convert parameter 1 from 'int' to 'const decode &'| error C2676: binary …

Member Avatar for mitrmkar
0
157
Member Avatar for ceyesuma

I created a nbproject,webapplication,visual web java Server Faces Glashfish,deployed it.(netbeans6.1) I have written a couple of them and they do not show up in a browser. Below is the one I just started. Can someone explain what needs to be done to run this in a browser? [code] <%-- Document …

Member Avatar for ceyesuma
0
176
Member Avatar for e_pech

Hey! I need to write a compiler for a microcontroller I'm designing... I want to use MFC to check the Syntax. I created a project in wich the View is derived from the RichEditView, Can anyone help me get info on how I can accomplish this?? I need to check …

Member Avatar for e_pech
0
102
Member Avatar for FTProtocol

Im just beginning to learn c++ and this is about the second day. Just wondering what you guys think and ways of improvement, efficiency and such. Thanks guys! [CODE] /* Super Simple Calculator - Created By FTProtocol */ #include <iostream> #include <math.h> #include <stdio.h> #include <windows.h> #define nl '\n' int …

Member Avatar for Nick Evan
0
148
Member Avatar for prakasnisha

hello everyone, can anyone help in writing a perl script which automatically replaces the commands in a file(command file), with the new values. i have written a code but its not working properly. if anyone could help me plz. i am new to this scripting language. thanks in advance. Thanks …

Member Avatar for prakasnisha
0
102
Member Avatar for ymf

Hi, I am writing a cgi script for a web database query "results" page and I need to display the results in an html table. My question: 'Is there a way to print out a list of words without the commas and the square brackets?' e.g if this is the …

Member Avatar for Freaky_Chris
0
104
Member Avatar for FTProtocol

Do you guys have any idea where I've gone wrong? [CODE] /* Super Simple Calculator V3.0 - Created By FTProtocol */ #include <iostream> #include <math.h> #include <stdio.h> #include <windows.h> #include <conio.h> #define nl '\n' #define PI 3.14159265 const double a=5; const double b=3; const double c=8; int x,y,choice; int ans=0; …

Member Avatar for Nick Evan
0
113
Member Avatar for shaddybOi

Hello everybody, I need to implement a circular buffer and im clue less . . .HELP me:'(

Member Avatar for John A
0
118
Member Avatar for MAD_DOG

Let me ask you guys something what is the toughest type of Programming Language on techtalk?

Member Avatar for azwiz
0
336
Member Avatar for allwiyn

[B]Hi, How to write a function that checks if the circle passes through given four points.. please answer this with code or just give me the logic and concept of writing this...[/B]

Member Avatar for VernonDozier
0
110
Member Avatar for Jessica_C

Does anyone how hot to do this: [img]http://i32.tinypic.com/35l9avq.jpg[/img]

Member Avatar for Jx_Man
0
92
Member Avatar for moshw

Hi, I'm learning C++ programming and have to write a program that shows how to calculate tax rates for a business tha th as shops in 3 different cities with three different tax rates, using the printf function. Anyhelp I can get is appreciated. Keep in mind I am just …

Member Avatar for Ancient Dragon
0
676

The End.