Anonymous
employee Employee;
Roxifλsz 🇱🇹
Oh right, the error is that it should be like this Employee employees[10]
Roxifλsz 🇱🇹
But you should also name the struct and the array differently as @anunaym14 said
Compilation
Anonymous
Make E capital after struct
Anonymous
struct Employee {
Roxifλsz 🇱🇹
Compilation
Oh now it works ! Thanks alot 🙏🏻
Anonymous
Anonymous
Anonymous
total = num1 <<symbol<< num2;
Compilation
Need help with the input 😕
Anonymous
Is it a thing? 🤔
Anonymous
Havent seen before
Anonymous
Roxifλsz 🇱🇹
Is it a thing? 🤔
What's a thing?
Anonymous
What's a thing?
I mean something like that exists?
Roxifλsz 🇱🇹
.
Oh :D
Roxifλsz 🇱🇹
I haven't ever seen such a combination
Roxifλsz 🇱🇹
Does it actually work?
Anonymous
Does it actually work?
Idk .. the guy is actually new and was asking how this problem could be solved
Anonymous
Meanwhile I noticed this
Anonymous
Wasn't sure myself lol
Compilation
Ask
I want to input the hours worked and number of dependents Then i will do few calculations to calculate the taxes and net pay And should store these values in the predefined variables taxes and net_pay How can i do so !
Roxifλsz 🇱🇹
I want to input the hours worked and number of dependents Then i will do few calculations to calculate the taxes and net pay And should store these values in the predefined variables taxes and net_pay How can i do so !
You should probably make a switch for the symbol: switch(symbol) { case '+': total = num1 + num2; break; case '-': total = num1 - num2; break; //You get the idea... }
Roxifλsz 🇱🇹
Also you should make your sim function return the symbol
Roxifλsz 🇱🇹
And then store it in the symbol in main function
Compilation
Should i deal with employee or Employee ?
Compilation
Anonymous
struct Employee {
Ah you changed another e
Anonymous
Not to worry
Anonymous
Not use Employee.xyz
Compilation
I did that and still had the same error !
Roxifλsz 🇱🇹
cin >> Employee[i].hours;
Anonymous
Compilation
‘Employee’ undeclared identifier Left of ‘.hours’ must have class/struct/union Identifier “Employee” is undefined
Anonymous
I will show you how it's done
Roxifλsz 🇱🇹
Left shift operator?
I guess it could be that. Not in this case though :D
Anonymous
I guess it could be that. Not in this case though :D
Yea probably the reason why output was 8 .. pretty sure the guy just did it randomly lol
Compilation
Send the code via hastebin
https://hastebin.com/ofasuriyaq.cpp
Anonymous
https://hastebin.com/ofasuriyaq.cpp
What error does it give?
Compilation
What error does it give?
‘Employee’ undeclared identifier Left of ‘.hours’ must have class/struct/union Identifier “Employee” is undefined
Anonymous
Ah I get it
Compilation
Oh Thanks
Haricharan
What's that keyword for limiting the input number to certain number of bits?
Anonymous
Hello
Anonymous
Can I make asks for hacking? Not stupid
Anonymous
Enter in the phpmyadmin of a site and change your points
Anonymous
Or create a bot for referrel on telegram
Anonymous
?
Anonymous
Someone have a idea?
Asdf
Anonymous
How I can do it
Asdf
phpmyadmin don't have points
Anonymous
The site is with points and in phpmyadmin I can change in my profile the point I have in site
Asdf
The site is with points and in phpmyadmin I can change in my profile the point I have in site
ok, but for do that you need to know the database structure and do the right inserts
Oluwaseyi
I do I learn c++ programming language from the beginning
wende
Liam
What will happen, if `num2 == 0` holds?
Anonymous
Can someone help me implement a shift cipher in C...
Anonymous
Anonymous
Most probably you would crash the program and the OS would kill it
Anonymous
https://stackoverflow.com/questions/7370154/cant-mod-zero
Oluwaseyi
please help .... I need guide(step by step) on how to learn c++
Anonymous
hey guys :) whats the best way to sort an array of objects? (without vectors and so on..)
Anonymous
imo
Mat
please help .... I need guide(step by step) on how to learn c++
Online courses, maybe university's ones, and books