- Strength to Increase Rep
- +5
- Strength to Decrease Rep
- -1
- Upvotes Received
- 11
- Posts with Upvotes
- 10
- Upvoting Members
- 9
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
Total IT Geek who loves Ice-Hockey and a Strong believer in Jesus Christ... weird combo I know, but I try to manage all the above :P
- Interests
- Ice-Hockey, Coding, Gaming, Church, Movies, and the missus (miss for now, but soon to be missus lets…
- PC Specs
- Sadly low :( Intel 3.2 Dual Core, 4 GB Ram, Ge-force GTS 250, 3 harddrives total 3.2 TB,
75 Posted Topics
Re: Devfeel... Uhm, I dont want to sound rude but how can that be such a big problem? converting and datatype shuffeling and loading into lists is something that should be rather simple if you managed the program you mentioned above? thines01's advice is solid and will give you exactly what … | |
Re: When you pass by value, you "create" a second instance of the variable, local only to the function receiving it... When you pass by pointer/reference you can see it as passing a big neon arrow pointing to the original variable... thus you can imagine, as no additional memory is allocated … | |
Re: Ok... Basics of Daniweb... TRY FIRST!, dont give us your assignment and expect coding back... this is not a free software house, people get paid to do that... so untill you can give us an example of your coding or actual problems that you are struggling with in it, the … | |
Re: cant think of an allready existing function... but if you have multiple arrays, use a bubble sort and apply the swop you are doing to both arrays instead of just one? | |
Re: I have managed to retrieve a list of all files contained in a folder (and all sub folders) but unfortunately this is relying heavily on and written using QT libraries... if you would like I could post said code | |
Re: Start at the data, research what you have available and what you need and how to get that in your application... Then you create an application which pulls in the data (saved externally as specified) and is able to display it, and also is able to enter new data, that … | |
Re: "add 1/3 to itself a large number of times and to compare the result to multiplying 1/3 by the number of times 1/3 was added to itself" & "Your program will do these additions 109 (1 billion) times." (perhaps they meant to say 10 x 9?) so what I understand … | |
Re: SELECT DATEADD(DAY, 32143, CONVERT(DATE, '1899/12/31', 111)) -- RESULT = 1988-01-02 | |
Re: I think he got confused between the Get method vs Set method... also that specific error arises because you are trying to send to the function a variable in the main function but that variable is not declared or created in the main.cpp Walt your posts can stand on their … | |
Re: uhm... WaltP, point 4 on your list is not "main" but "menu"... and I believe it can be void... and the semicolon in point 3 is an end while the rest should just be spaced into a new line as an variable of the struct (I hope I said it … | |
Re: OK OK OK, here is an example of what Suzie said you need to do, you do it yourself... cout << "In which year where you born? (Example: 1995) "; cin >> bjaar; while <check if bjaar is not an integer>{ cout << "Your entry was not a number, please … | |
Re: I agree... its a decent way to check the outcome of your functions... alternatively you can use a try catch... but it comes down to the same | |
Re: well I dont know much of this kind of coding... but I guess the best trick would be to first get the positions of each node? have that saved and be able to calculate the distance between each node? then you can start with the current node... the node you … | |
Hi there everyone... Allright my setting is this: I have written an C++ application that receives input from a user app, converts it to XML, and then posts it to our ERP (Syspro) through e.net COM objects using ActiveQt and in specific QAxObject... The problem is this: QAxObject inherits from … | |
Hey Everybody, Allright my setting is like this: I created a derived MVC program using C++ and QT on Visual Studio 2008, that sends multiple instructions to our ERP system through an external program... On each command posted this way the user application needs to wait for a return string … | |
Re: 1 Question... how does 1 do this for a column with the data type char if you want tot take it to decimal... gives me an error on the conversion.... "Msg 8114, Level 16, State 5, Line 1 Error converting data type varchar to numeric." is there an additional way … | |
Hey Everyone, I have run into a bit of a problem with regards to application startup... I have written a C++ application with QT libraries that uses active QT to communicate with our ERP system in our business, the requirements are that any application we use needs to communicate its … | |
Re: freopen("Document.in" ,"r",stdin); freopen("b","w",stdout); is not C++... read the links that zero sent you... Here is what zero tried to show you: ifstream myfile ("example.txt"); if (myfile.is_open()) { while ( myfile.good() ) { getline (myfile,line); cout << line << endl; } myfile.close(); } else cout << "Unable to open file"; | |
Re: Perhaps your excel is not set to display the header & footer even though they are there? | |
Re: Hi amber... No-one is going to do your homework for you... show us you tried and we will assist where you get stuck... post some code or give errors or problems dont ask us to do everything | |
Re: Allright in visual studio, at the top you will see a dropdown box with the text "debug"... change that to "release"... then build the application... now in the folder you saved the project there will appear a "release" folder, in this folder will be the files you want, this can … | |
Re: CASE (ISNULL([QtyOnHand],0)) WHEN < 0 THEN 0 ELSE ISNULL([QtyOnHand],0) END | |
Re: wth is the newton raphson method? did you try at all? take it all step by step and try to develop something rather than just asking others to do everything for you... if your stuck with a error or genuine programming problem (after TRYING) we will be happy to help | |
Re: alright do you know where the error takes place? Maby narrow it does to a function? Everything looks pretty well done allthough it feels slightly unneccessary here and there :? Regardless, you deserve some credit for at least trying... now, first thing... as a programmer, a sad truth about life … | |
Re: Create a table with "id", "firstname", "middlename", "lastname", "address" And select them into 1 field... closest I think you are going to get to what you seek... Alternatively you can try different select statements or tricks to display in different ways... but I dont believe the nested tables are gonne … | |
Haha I guess I'd have to get around to this some or other time, Hi everyone, My name is Jaco, and I am addicted to oxygen... its sad I know, tried to shake it many times but no luck :( Lol ok seriously now, Ive been on this forumn for … | |
Re: Alright firstly, this forumn the people are not going to do something for you if you aren't prepared to do something yourself... I will however try to help you in getting started... First place... find what is expected of your program... is there any user input? or is it all … | |
Hi There, I hope somebody can help me, I work with Visual C++ 2008 with QT libraries I am trying to include a Interop.Encore.dll file into my program to access our ERP system business objects and post new data to the ERP We have a Visual Basic program geared to … | |
Re: Well what are your current results? how do they differ from what you want to have? and why do you have additional "{" tags? Perhaps you are looking for a line break at the end of each "cout" call? if thats the case use "<< endl;" | |
Re: Please try to enter your code in the correct code tags... (ends with "[/code]") So what stops you from just using `"cout << current value"` in the correct spot? is this your own code? because I mean there is LOADS of cout and user communication, writing all that surely you … | |
Re: "myfile>>file;" <- your coding but I don't see "file" anywhere else? what is "file"? As Walt says, show us your errors, Copy Paste = your friend | |
Re: I dont recognize the datatype "CToolBar"... is this libraries added to C++? | |
Re: [QUOTE=al41007;1761869]Replaces the variables [I]Y[/I] and [I]N[/I] by a variable [I]'Answer'[/I] of type [I]char[/I] which also receives user input (Y or N), and on condition of [I]while[/I] loop you can see if it is equal to Y. So if it is equal to Y, the cycle repeats. For maximum effectiveness could … | |
Re: Think of a function as a building, You can walk down the hall all the way, and when you get to a room the door/walls etc belong to that room, (room = loop, if, case, etc) You cant access the door from the next or the previous room in the … | |
Re: Alright first things first... I see this is your first post... so We are NOT going to give you the entire program, then you learn nothing, trying and getting some code going and asking for help with syntax, errors or middle snippets we will do any time Ok so first … | |
Re: What problem are you experiencing? Conversion error? data truncation? output? what is going on? | |
Re: Does your computer have access to the SQL Server? (Only applicable if SQL Server is located on a separate machine or server) Is the login information correct? (username and password) are you using an alias for the SQL Server? (Instead of <servername> using "SQL Server" which is set up as … | |
Re: @MrNo - What the h... dude? Walt is actually giving you assistance with your code, NOT writing it for you, and encouraging you to develop your understanding and knowledge your damn self Stop being a complete ass and learn a thing or 2, your comment you state you've only been … | |
Re: Look what Walt is trying to say is: [CODE]char rank; for (int i=0; i<numFaculty; i++) switch(rank)[/CODE] ^ this code makes no sense whatsoever... you are creating a new variable "rank" then you are checking its value, but is has not been assigned any value? the case will never find what … | |
Re: Check the poster user name... quite fitting no? Homework assignment? | |
Re: Alright... that errors are NOT really errors in your syntax of that line... a Linker Error means there is a problem with a method... most of the time it is that a method is declared in the header and not used in the source... So first step... make sure both … | |
Re: Ey mate... I use QT myself... how do you compile your program into a VCproject? I personally use qmake command in command prompt, if this is how you do it as well just run it again with the application closed and it should update all the ui changes into your … | |
Re: [url]http://stackoverflow.com/questions/4060601/make-sounds-beep-with-c[/url] Running windows makes it rather easy with the Beep() function (just check the parameters in the link) Please just ensure that you have a working speaker installed on you motherboard or it will definitely not have the desired result :) | |
Re: Hi There I agree with Walt 100% and I would just like to add the following: Read your assignment very clearly and Identify the requirements, 1 thing I see is that your assignment requires you to create the 2-dimensional array in your main()... I'll leave the rest 1 other thing, … | |
Re: Something tells me the problem comes in with the first error (ie when you solve that it might take the others away as it seems to be a chain taking place in the order they reference each other) I do not carry much knowledge on "std::basic_istream<char, std::char_traits<char>>" type coding as … | |
Re: This website REALLY helped me, registration is free and it covers most field as well as some questions [url]http://www.cprogramming.com/tutorial.html[/url] | |
Re: Look at it this way... X is a variable right... P is a pointer that points at X (p = &x)... * means pointer and & means reference ([url]http://www.cprogramming.com/tutorial/lesson6.html[/url]) now think of P as kind of a portal to access X... anything you enter into P actually gets set in … |
The End.