Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
4
Posts with Upvotes
4
Upvoting Members
4
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #2K
~6K People Reached
Favorite Tags
Member Avatar for Nether_1

I'm coding a program to learn OpenGL in C++ (based off of The Benny Boxes tutorials) and I've run into a snag where I don't get any errors, but my shaders refuse to apply to the triangle that I'm rendering. I'm going to give you all the relevant code but …

Member Avatar for wrathness
0
521
Member Avatar for glamiex

//Reading the last name from the file ifstream file; file.open("studentName.txt"); char name[20] ; file>>name; cout<<"The last user was: "<<name<<"\n"; file.close(); //Replace the last student name with the new one in the text file cout<<"What is your name?: "; cin>>name; name[0]=toupper(name[0]); ofstream file2; file2.open("studentName.txt"); file2<<name; file2.close(); When I run the program …

Member Avatar for wrathness
0
177
Member Avatar for adampday

Hello, I was wondering how to pass an array to a class constructor. When I run my program, I get the same gross pay for every different employee even if I enter in a different number of hours for each one. That might be where I have a problem. Any …

Member Avatar for wrathness
0
102
Member Avatar for Auroch

Hello, I have the following problem: Entering coordinates of points on a plain with keyboard (as rows x,y). Analysing this coordinates. Replacing coordinates in vector (point - structure data type). Then calculating distance from the first point to all another points. I've written the code of this problem using arrays …

Member Avatar for Auroch
0
2K
Member Avatar for DS9596

So I have this but I'm not really sure of how to print the smallest element of array `a` , print the sum of all the elements in array `a` , and print the average of all the elements in array `a`. Help please. Is this how to print out …

Member Avatar for nullptr
0
203
Member Avatar for Brittany_1

I really love working with structs, and I get how they work and everything. And I know my issue right now is the math (I'm horrible at math!) But my problem: I need to create a program that reads from a .txt file of employees (let's say 5) an they're …

Member Avatar for David W
0
143
Member Avatar for chubbyy.putto

Hi, anyone like to offer some extra eyes on this problem? I am having trouble with the array pointer and with the variables. I don't seem to have the pointer set up because the additional times the array is called it is empty. Also, if I don't use integers the …

Member Avatar for wrathness
0
489
Member Avatar for mmegue

guys i need help with my program.if i run this code its crashing. if there is a value in my QLineEdit the button **BMIINTERPRETATION** must activate, i set it like this( **bimout->setDown(true)**) so here is my code. i don't know where i am going wrong any help will be appreciated.thanx …

Member Avatar for wrathness
0
284
Member Avatar for Yeonng

Hi, I'm a beginner in Vb.net. I have a problem like this. My table name in dtabase is *tblsales* ![67f4b407a5443c6d48ba102a4779c9f2](/attachments/large/4/67f4b407a5443c6d48ba102a4779c9f2.JPG "67f4b407a5443c6d48ba102a4779c9f2") and i have 4 combobox in month and year ![81361dad1be3d14458ae4ad0a3aa9a55](/attachments/large/4/81361dad1be3d14458ae4ad0a3aa9a55.JPG "81361dad1be3d14458ae4ad0a3aa9a55") i need to find data between this 4 combobox. And this is the code i've tried before. For …

Member Avatar for Yeonng
0
1K
Member Avatar for xxn5
Member Avatar for Mr.M
-2
280
Member Avatar for Deegirl

Good morning community, Can someone help me with the IndexOf method to reverse the name: Don Paul to Paul, D

Member Avatar for Deegirl
0
266
Member Avatar for Deegirl

Good morning, Can someone help me to figure out how if I should used a Public Sub New or a Public Function. My codes are: Public Function ClassAverage(ByVal Average As String) Dim Grades() As Decimal = {76.5D, 63.4D, 45.4D, 94.5D, 81.3D, 66.2D, 68.6D} Dim sum As Decimal = 0 For …

Member Avatar for wrathness
0
273
Member Avatar for wrathness

Good afternoon everyone. I made a project using Florian Leitner-Fischer's usb library. I can send data to the bus 100%, but when i read i get the recieve frame and then my application hangs for some reason. When i uncomment out "MsgBox(content)" in the event catcher, the program no longer …

Member Avatar for wrathness
0
229
Member Avatar for wrathness

Hello everyone. Im trying to write a program for a cellphone that gets inputs from the user, does some calculations then displays various outputs. I am very new to java programming and getting a little confused. I am having trouble with finding out how to read the values from the …

Member Avatar for wrathness
0
95