- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Hey, I hope it is okay to post this here. I'll be interviewed by a few companies in some time and I heard mock interviews are a great way to be prepare for it (the mental aspect :)). So I was wondering if anyone else is the situation and would … |
|
hello everybody, actually I want to work on some open-source project. I want to learn something new and something interesting related to computer science. I can work for 4-5 months on project and even more than that. if not open-source, still if you have something in my mind, you can … |
|
Hello, I have a graph that is represented in the form of a grid. For example: V--V --VV V---V VVVVV Each V is a node. If there is another V above/below/to the side of a V then there is an edge between them. I'm to form one single connected component … |
|
Hey, I had complained about this sometime ago and most of it got fixed and the site in general is a lot better. But there is one thing annoying about that "Insert with the Quote editor button" popup : 1. Select some text 2. even while the popup is being … |
|
Look at this: http://www.codinghorror.com/blog/2007/01/how-to-become-a-better-programmer-by-not-programming.html Did someone who simply couldn't write efficient code (complexity-wise) before, felt intimidated by people who did, decide to work really hard, try to solve an insane number of problems, actually get better? I've been in touch with programming since some 4-5 years. Some of my friends … |
|
I select something on a post and this shows up: `Select additonal text or insert with the Quote editor toolbar button` I understand that it is trying to teach us something but what about people who have learnt that? Also it has been very buggy in my experience: doesn't stop … |
|
Please Help me to get the solution of this pattersn as i am weak in loops that is why i am asking and i have my exam tommorrow . |
|
What are some common uses of HTML forms that contain just one text input and a submit button? The only one use I find is to submit search queries. Is there some other reason why this is commonly used? |
|
hi. I'm working on a project where I must observe form submissions in websites and detect a search engine if a form is used consistently. I don't really want any help with coding this. I just want some ideas for an algorithm. Like, **for example** if I were to come … |
|
Hello I am trying to pass a array of object to a member function of that class but not successfull. I gone throgh lots of article and document also follow this thread in Daniweb [Click Here](http://www.daniweb.com/software-development/cpp/threads/2771/passing-arrays-of-objects-to-functions) This thread is good to understand how to pass an array of object to … |
|
I have a class Client that is the main class for my Windows C++ application. Inside the client class, I have a number of variables and functions. One variable I'm having trouble with is the manager: private IRManager* manager; The main function of my class is int APIENTRY InnoVisitClient::_tWinMain(HINSTANCE hInstance, … |
|
Hey everyone just to refresh my memory and practice some programming I decided to make the dice program here is my code: #include <iostream> #include <ctime> using namespace std; int main() { int input; int random; cout << " VIRTUAL DICE 1.0" << endl; cout << "Enter 1 to roll … |
|
Please see [here](http://jsfiddle.net/jmDsB/). The intention was to have 3 `<div>'s` in decreasing order of height(`1`,`2`,`3`) and to put those 2 buttons under the `<div>` marked `2`. Something like 1 2 3 - - - - - - btn1 - btn2 I floated `1` to the left because I wanted whatever … |
|
My B+ tree looks like : rest of tree / 9 10 / \ \ 5 9 10 If I need to delete 5, I can't simply remove it because the page wouldn't contain any elements after that. So, I decide to merge with the right sibling. I don't understand … |
|
I read [here](http://www.google.co.in/url?sa=t&rct=j&q=can%20have%20any%20(odd)%20b%20tree&source=web&cd=1&ved=0CDAQFjAA&url=http%3A%2F%2Fwww.cs.uga.edu%2F~eileen%2F2720%2FNotes%2FBtrees.ppt&ei=PcK3UPy4IcbYrQe7-oC4Cw&usg=AFQjCNFC0kjGfN16J-I0S5o3HEjBUxmpKg&cad=rja) that an m-way B-Tree can have m only odd. Is that really true? I've used 2,4 trees that allow a maximum of 4 child linkages for each node (and a minimum of 2). Isn't this a 4-way B-Tree? |
|
I have a computer with good specs and I use Ubuntu 12.04. Firefox 15.0.1 When I switch from another tab to a Daniweb tab, and I move my mouse down, there is this big ad at the top of the page (it is supposed to make the rest of the … |
|
I'm new to javascript. Lets say I need to create a new `<p>` everytime the user clicks on a button. So I create a button in the html body and assign a function as the event handler of `onclick`. This function is in a separate file called "file.js" which I … |
|
i have tried hard but dont know wy im getting this error , error comes in line 8 class CPop { CBSVector<CTour> pop; CBSVector<double> probability; int popsize; double TotalFitness; CTour Elite; **CTspGAParams GAParameters;** } error C2059: syntax error : 'constant' error C2238: unexpected token(s) preceding ';' [POP]// Pop.h: interface for … |
|
Hi. I have some trouble understanding the linking process and hence this related question. Lets say I need a global variable that is needed by every single source file in my project. I would create a `constants.h` header and put `extern const int var;` in it. In corresponding source, `constants.cpp`, … |
|
I use a couple of usenet groups on google groups and post there as well. There are a lot of real people there who keep posting nonsensical stuff for fun. But they aren't bots or anything and they don't copy paste,they just say things to other posters. What happened was … |
|
i still cant get an out put.. plus cin.get() doent work here.. why? [CODE]// to find factorial of a number #include<iostream.h> #include<conio.h> int main() { int i,m; cout<< "enter a number"; cin>> i; for ( int p=i;p>=0;p--) { p=p*(p-1); p=m; } cout << m; getch(); return(0); } [/CODE] |
|
I HAD A PROBLEM IN MY PROGRAM. MY PROBLEM IS ON HOW TO COMPUTE THE MONEY BREAKDOWN OF THE WITHDREW MONEY. PLEASE HELP ME..THANKS FOR ALL COMMENTS AND SUGGESTIONS.. #include<iostream.h> int main(){ int bd; char transaction; int withdraw, deposit, money; double balance = 50000; cout<<"What transaction do you want?"<<endl<<endl; cout<<"[1]DEPOSIT"<<endl; … |
|
So I have an assignment where I have to read in a file that contains 6 blobs of X's, and delete them one blob at a time using a recursion. The blobs of X's don't touch, so once it hits an X, it deletes that blob of X's, adds 1 … |
|
[CODE] int i=5,j=10; printf("%d\n",(i=15)||(j=26)); printf("%d %d\n",i,j); [/CODE] THe output I expected was : 1 15 26 The actual output was: 1 15 10 In (i=15)||(j=26), shouldn't the brackets be done first?Isn't that the precedence order? So,first i must take 15 then j must take 26 then the || must be … |
|
Hello I am very confused with how negative numbers are represented in binary form. They say it is done in 2s complement form. Now won't this 2s complement of a negative number clash with an actual +ve number having the same binary representation? And negation of a +ve number..... We … |
|
I'm not sure on which forum this thread should have gone,so I'm asking here. I presently don't have a personal computer to work on,and won't have one for another few months.I want to be able to continue practising C++. I have access to a computer centre facility.I don't think it … |
|
I need a little help with algorithm for my code.Given a word "abacus" i have the code to find all its anagrams but i need to include also the words that are smaller in length than the original word. That is, I wanna be able to list ABA,AAB,ACA....ABAC,ABCS....so on. Thanking … |
|
Anybody know how to remove the duplicate characters in turbo c++. the output is like this: enter string1:abc enter string2:bcd result:ad |
|
I have to accept three numbers from the user using cin into 3 variables. If the user enters non integers,I must reject it and ask for a new one instead of that. So,here is my attempt: [CODE]int a,b,c; do{ cin.clear(); while(cin.get()!='\n');//remove failure bits,clear stream if wrong input cin>>a; } while(!cin);//while … |
|
I use Vista.There are these problems with my computer: 1.The "Computer" icon on my desktop,the text under it is like: [CODE]Comp uter[/CODE] and not [CODE]Computer[/CODE],in one line. The icon is large enough.The thing is it wasn't like that before,but now it is. 2.When I press,@ I get ".I restarted the … |