Beginners - January 2011 (Page 13)

About hardware
 
I know i am asking a question in the wrong forum but so far this forum has answered almost all of my problems. if a heater says 1500w with 70% efficiency, d...
[3 replies] Last: The numbers in the first part could just be made up from a problem or ... (by Zhuge)
by jasmin
how can I speed this program up?
 
hello, this is my exam's Question and it should run in 1 min for 1000000000000000(15 zeros) but It takes a long time what should i do? (the Question is: how ma...
[14 replies] Last: @kbw: sry sir he is not doing my home work its problem I couldnt solve... (by jasmin)
studio.h vs iostream
 
Hello, I'm learning C++ in my Programming Methodology class. My professor is using the compiler directive #include <stdio.h>, but my book uses #include <iostre...
[3 replies] Last: yap.. like hamsterman said, #include <stdio.h> i for C programming lan... (by Janlan)
Whats wrong with my code ?
 
So i build my program #include <iostream> #include <cstdlib> #include <cstdio> //This part of the code //initialazies the main part of the code //...
[3 replies] Last: Omg i did not see that , thanks man (by adrianooo231)
C++ Librerys and Advance Programs
 
Hey im ferly new to C++ but i hawe started to realyse somthing. And that is if i aint going to make calculators for the rest of my life. I will need to learn ...
[no replies]
by Uldrer
Timing in Threading while using mutex
 
Hi, I'm working on a project where we have a camera that determines the positions of objects on a board and then we move these objects with DC-motors controlled...
[no replies]
by niche
how to make user function to count number of x entered (beginner)
 
hi there I want to know how to make a user define function to count total number of x entered, then the total number of x entered will be displayed when the use...
[5 replies] Last: wiiiii! I got it.. #include<stdio.h> #include<math.h> /*Funct... (by niche)
error code C2471: cannot open/update vc100.pdb
 
error code C2471: cannot update ...vc100.pdb error code C1083: cannot open ...vc100.pdb
[3 replies] Last: Well, sorry, but we know nothing about the context of these errors. Wh... (by Albatross)
Switch Statement Questions.
 
I'm learning about switch statements and came across this in my book: "The switch statement is different from similar statements in languages such as Pascal...
[7 replies] Last: The book is correct. If you miss-out the break clause after each case... (by closed account zb0S216C)
Problem with "switch"
 
I'm making a program with dev-c++ that needs "float" to declare and not "int" because it needs precision on numbers.(sorry for bad english i hope you'll underst...
[15 replies] Last: Yay! Thanks alot Toshitaka you solved my prob! :) (by Alex cpp)
Error given: 14064 Segmentation fault
 
I am getting the following error: /Applications/NetBeans/NetBeans 6.9.1.app/Contents/Resources/NetBeans/ide/bin/nativeexecution/dorun.sh: line 33: 14107 Se...
[5 replies] Last: Are you still having this issue? If so could you provide a copy paste ... (by Computergeek01)
by cppnb
storing user input into array for delete
 
Hi,this is my 1st C++ coding and i have some problems. the user will input eg Veg,and after that it will store into data.txt. After that the user can type in "...
[3 replies] Last: If you want to store the user input in an array, you should consider m... (by Moschops)
Vote Here!
 
If you think Spoon Licker , helpmeagainANDagain and helpmeagain should be banned then post "Yes" in bold. :)
[15 replies] Last: Banning doesn't help much, they just come back with another ID. Som... (by closed account z05DSL3A)
by clomer
Array passing around a class
 
hello, I have quite a large program I'm working on for class, In my program I have to put the contents of a text file into an array quite a few time, so to cut ...
[3 replies] Last: #include <iostream> void Function(int * ArrayPointer, int arraySiz... (by closed account z05DSL3A)
Nested Prime Number Test For Loops
 
Hey all, Been awhile but I was hoping someone could help refresh my memory on something that should be pretty basic in my opinon (and probably is). I hav...
[6 replies] Last: ah gotcha. Thanks for the help guys! (by wolfcry)
by Derp
I am clueless about strings
 
Hello, I am longtime lurker and first time poster and I am in need of help. I am working on a very simple program and am already stuck at the beginning. ...
[7 replies] Last: Ah, yes! Thank you, this has solved my problem. (by Derp)
by Icenel
How to use strtok
 
Hello, please help me... I have a problem with strtok char a = "1.2"; I get number "1" use printf("%s", strtok(a, ".")); but how to get number "2" w...
[1 reply] : check the example http://www.cplusplus.com/reference/clibrary/cstring/... (by ne555)
converting letters to numbers
 
I'm working with direct.h (again) and I'm trying to use chdrive(int). It works in windows as drive A = 1, B = 2, C = 3, D = 4 so on so forth. However other than...
[4 replies] Last: of course, ne555 (by closed account 4Gb4jE8b)
preventing complex warning
 
Hi guys. In my code I create some complex numbers and I try to manipulate them in something of that sort: vector <complex <double> > q; q.resize(0); ...
[2 replies] Last: Thanks. I wasn't sure what is the meaningful part but I suspected the ... (by yotama9)
I have spent a lot of time on this
 
Ok, I tried a few different things and i'm returning different errors now. Here is the code: #include <iostream> #include <string> using namespace std; c...
[1 reply] : [co de] "Your code goes here" [/co de] The insertion/extraction... (by ne555)
January 2011 Pages: 1... 1112131415... 42
  Archived months: [dec2010] [feb2011]

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