Beginners - April 2012 (Page 26)

by bzh
d3d start kits
 
I'm looking for some documentation or starter kits for d3d programming for C++. I've been learning C++ from this sites documentation and I believe I have a good...
[no replies]
How to use a struct variable with user defined function
 
Hello I was hoping someone could tell me how to do this? how would I use a structure variable array in a function paramater like so : typedef struct cord...
[3 replies] Last: What does mean this statement?! drawrandomness( list 1 ,0,1,0,20,02,0... (by vlad from moscow)
by takzee
Unknown result .
 
Hello I'm doing a program that is used to calculate the commission of mlm company,apparently when I testing the function search by id and name , both having the...
[1 reply] : when i type in random value it will still run the if-else function an... (by coder777)
I need suggestions on my piece of code.
 
The purpose of this code is to try and output a start time, start date, finish time, and finish date for an event calling on header files and another .cpp file....
[1 reply] : please only write the part of the code you are having problems with (by even821)
by CMinus
Project Euler No.16
 
Hello , Most of us might solve www.projecteuler.net Problems So Here With Problem 16 that asks to Sum the Digits of 2^1000 I made it but I feel that I am maki...
[8 replies] Last: I thought you had to keep going until you got a number between 0 and 9... (by Fumbles)
change a word into another word using strings
 
I have to replace a word into another word using strings for an assignment. We haven't learned [string.replace], but I'm stuck right now. Here's the code I ha...
[3 replies] Last: No problem. Include in your program using directive using namespace s... (by vlad from moscow)
by Ezreal
Link 2019 Error
 
Hi there! I am taking my first C++ course this semester and our assignment was to work on creating a program that tests the given program...? (haha) // Mem...
[1 reply] : The linker message is very clear. You did not define member function ... (by vlad from moscow)
returning a array or int from function???
 
I'm doing an assignment for cs class but I'm having trouble with the logic? Here is mine problem...Im reading a string to a function and returning an int, i ha...
[1 reply] : simply combine the number using the powers of 10: #include <cmath> ... (by TheDestroyer)
New to programming with Visual Studio 2010
 
Hello everyone, I am brand new to programming and I'm having an issue with Visual Studio 2010. When I compile my code online it comes out the way it's supposed ...
[2 replies] Last: Oh wow, I'm an idiot. Thank you so much. I was going insane (by Disco King)
why we use seed for generate random numbers
 
sometimes people say that if you put seed blank this generates new sequence every time you want to get random numbers but if you entered the same seed you would...
[4 replies] Last: http://en.wikipedia.org/wiki/Pseudorandomness (by hamsterman)
Setting up MinGW
 
Good day, I am just a begginer at programming, I'm not fluent in some little more advanced software stuff, and now I have problem. I was using Dev C++, but ...
[2 replies] Last: Dev-C++ uses MinGW -- it is just that Dev-C++ is so old that the MinGW... (by Duthomhas)
How to place a web link into the code?
 
Hey, I'm extremely new at C++ and I have a project to do in my math class concerning my career. I would like to open links along with questions that I ask my se...
[1 reply] : Are you talking about displaying the links in a terminal? I don't thin... (by IceThatJaw)
Create new library
 
If i created my own new function, how could i put it into my library ? And, how to create my own library ? Thanks !
[2 replies] Last: Thanks so much ! (by kieuthu)
by Murari
Hello all
 
Hello all, I am a beginner to the C++ programming. I have some working knowledge in VB and always wanted to learn C++. I have found some learning materials in ...
[2 replies] Last: If you have used Visual Basic before than you can go ahead and code C+... (by IceThatJaw)
Which way is the right way?
 
I'm passing a vector or integers to a print function. I have an example from a book that does it this way. // prototype for function template printVector t...
[4 replies] Last: gotcha Thanks for the help. (by jokerfwb)
i m having difficulty in executing this code.
 
#include<iostream.h> #include<conio.h> #include<math.h> void main() { int x1,x2,y1,y2,distance; cout<<"enter coordinates of the first point:"; cin>>x1>>y1; cout...
[5 replies] Last: I'm pretty sure that's about 15 years old, so try updating to somethin... (by ascii)
Parsing a LNK2005 error
 
If someone has the time, I would like help parsing the pieces of this LNK2005 error: MFP1.obj : error LNK2005: "void __cdecl fnCloseFiles(class std::basic_if...
[1 reply] : From the linker error message it follows that the same function fnClo... (by vlad from moscow)
Why doesn't this return true?
 
#include <iostream> using namespace std; int main() { char word1 ="hello",word2 ="hello" if(word1==word2) cout<<"word1 equals word2";...
[2 replies] Last: Okay, thanks for clearing that up. (by CJC0117)
Just starting out with arrays and I am confused.
 
This will be a pretty long post sadly :( I have 10 exercises due on Sunday night for my CS162 class and I am thoroughly lost with arrays. I have read the entire...
[8 replies] Last: Thank you so much! It finally works! I don't know how I would have e... (by Dartht33bagger)
Adapting a quadratic solver to solve imaginaries
 
Hello, I have quite heavily altered Ryan Parker's quadratic solver but there is one thing which is still alluding me: adding support for complex solutions. ...
[4 replies] Last: Haha, I couldn't wait! :P I solved it by doing this: ... dis =... (by nerdycameron)
April 2012 Pages: 1... 2425262728... 66
  Archived months: [mar2012] [may2012]

This is an archived page. To post a new message, go to the current page.