Hi guys. Feels great to post back on DaniWeb. Hope everyone is doing great! I am currently playing around with the google websearch api. They have a javascript example where they created a "hello world" page. https://developers.google.com/web-search/docs/ This code only returns 8 pages of each type of search. I was … |
|
Hey guys. hope everyone is doing well. I am trying to make a custom asp.net server just for the heck of it. turns out its quite a task!. I managed to get some code off the internet for a simple server, but it doesnt support asp.net pages. I looked into … |
|
Re:
It has been one of the great blogging success stories, not to mention literary mysteries. But now the true identity of the Diary of a London Call Girl blogger has been revealed, by Belle de Jour herself. The blog, based upon a secret life covering 14 months as a high … |
|
Re:
Hello, I have implemented different sorting algorithms (bubble sort, merge sort, heap sort, etc...) and want to calculate the running time for each one on different sets of data. I'm using Visual Studiois but am familiar with Dev C++ and Xcode on Mac. I used C++. Is there some special … |
|
Hey guys. Last week I programmed a AVL tree. This week i am trying to build a Btree. Can someone explain the differences between a AVL tree and a Btree. They seem kind of similar in the sense that both need balancing, but how different are they when it comes … |
|
Re:
Hi everyone! So my task is this: Make a program in C which runs three processes (A,B,C), which use a common memory (buffer). Process A generates 50 random numbers and writes then into the buffer. Process B writes down every even number into file F1. Process C writes down every … |
|
Re:
For the following function can one of you guys take a look and see if what I have at the bottom is correct.. [CODE] void f(char ch) { if (('A' <= ch) && (ch <= 'H')) { f(ch - 1); cout << ch; } else cout << endl; } [/CODE] … |
|
I am able to get the file names with current script. $dir = "var/www"; $dh = opendir($dir); while (($file = readdir($dh)) !== false) { echo "<A HREF=\"$file\">$file</A><BR>\n"; } but the www folder is local. i wanted to get the file names on my windows server which has the following address … |
|
So what im doing is actually in php, but just wanted to know whats the working logic of what im trying to do. I currently have 2 servers(virtual machines). i have a php file in ubuntu server that calls some other files on the windows server and vice versa. as … |
|
Hey Guys. I cant actually think of a way to do this. Let me rephrase my question. I essentially want a perl script to run based on something that i am doing in javascript. for example: <javascript> if(x == 1) { then run the perl script. } </javascript> i dont … |
|
So I am very confused about XML in general. according to the things i read about it, its not a programming language. its not used to display anything. basically they even say it does nothing. then the question arises....WHY is it used?WHERE is it used?and HOW is it used?....i tried … |
|
Re:
Hi guys. I have a question - searched for it for at least an hour (i think more, but nevermind). I have this piece of code: [code=C++] cout << word.getLastWord() << "<---" << '\n'; [/code] It is supposed to call getLastWord method of class called Extract. Method returns a pointer … |
|
Re:
I can't seem to figure out what I am doing wrong here. I can either get my loop to play indefinitely, not replay at all, or not initiate in the begging. I'm very new to programming & would appreciated any help. Code: [CODE] int main() { int weight ; // … |
|
Re:
Can you guys check my work i want to perfect my studies at school.. this will be passed on sunday also there some that dont have answer which you know please do tell.. [QUOTE]False 1. When you go through a list of names, from beginning to end, until you reach … |
|
Re:
Hey everyone, I'm new to posting in these forums so sorry if I didn't post my code correctly? I think i did it...hopefully. Anyways, I've been working on this all day but I can't figure it out. (i think i will be having problems with the rest of my assignments … |
|
Re:
hi, the following program has got to take a user inputted string and allows the user to see the postion of each character in the array i.e. T H I S I S A T E S T 0 1 2 3 4 5 6 7 8 9 10 11 … |
|
Hey guys. I have the following string array, say, string array[2]; array[0] = "hello7925"; array[1] = "bye344539"; I want to read the last two characters from each string in the array, which in this case are 25 and 39 and then put them in a separate array like this.. int … |
|
Hello everyone. Got a bit of a weird problem here. I cant seem to figure out a way to read a file with a format like this... hello what 100 200 its a string string integer integer i need to put each of those values in separate arrays. eg: array1[0] … |
|
Any ideas on how would I be able to traverse this BTree in asceding order? right now I am sorting the data and giving it to my retreival() function to look for the keys. But naturally it visits and prints the data in ascending order because I give it sorted … |
|
Re:
[I]<<thread split from [URL="http://www.daniweb.com/forums/thread13488-9.html"]here[/URL]>>[/I] hi. i can c ur proficiency in the algorithm n complexity field. can u pls help me out? i need 2 understand it 4m the very beginin. take me as a layman n thn send ur replies. |
|
Re:
Hi everyone. I'm a reta-I mean a beginner and 98% of my bugs are something really obvious... but I've checked this so much and I don't know what to do. This is my function to create an Employee object, called when the user wants to add a new employee to … |
|
Re:
I have an assignment to write an ATM program (it just needs to be basic) and I am getting one error when I try to compile: On line 28, I get an `expected unqualified-id before '{'`. I don't know that it's the only thing wrong with it, but any ideas … |
|
Re:
Hi, my code prints out the number of times a letter is typed. I can get it to print out the correct info, but when it deals with a white space, it will print out the list for every white space. how can I deal with this? [CODE] #include <iostream> … |
|
Re:
i have no clue how to sort using the array. it is not 2d. this is what i have [code] for(int i=1; i <=num; i++) { do{ cout <<"enter score " << i << ": "; cin >> scores[i]; if((scores[i] <= 0)||(scores[i] >=100)) cout << "invalid score\n"; }while((scores[i] <= 0)||(scores[i] … |
|
Re:
I'm working on a University assignment at the moment (a final assignment). I've normally been able to figure things out, but the teacher's thrown us a curve ball by making us use <fstream>. We've only had one lecture on it which covered [I]outputting[/I] a file, but nothing really handling taking … |
|
Hey Guys. Im having a hard time figuring this out. I realize there are a bunch of topics out there discussing this problem but I couldn't find anything that was helpful to this particular situation. [CODE] #include <iostream> #include <string.h> using namespace std; typedef char charType[4]; int main() { char … |
|
Hey guys. I apologize for my sloppy code. But it got a bit longer than i expected so i stopped bothering about giving meaningful names to Variables later on in the program. Below I have a AVL tree(atleast that's what I intended to write). But my approach to it was … |
|
Hello everybody. All though I have joined recently, iv been following DANIWEB since years. I was wondering if someone could help me understand how link lists exactly work. I understand how they work in general, but when I tried to understand what the "->" operator does and how it exactly … |
0 Reputation Points
~16.2K People Reached
Favorite Forums
Favorite Tags