Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~546 People Reached
Favorite Forums
Favorite Tags
c x 8
c++ x 3
Member Avatar for Erikmmp

Hi, The program I'm making to teach myself C++ uses a user-specified file and then does the opening and read/write whatever stuff. The error i get is this when trying to compile the read_file.open(in_file) line: "no matching function for call to 'std::basic_ifstream,char, std::char_traits> >::open(std::string&)'" Please help Thanks [CODE=C++]#include <iostream> #include …

Member Avatar for Erikmmp
0
119
Member Avatar for Jawahar prabhu

hello friends this code for delete a file,when i was execute it i got o/p [B]success[/B]but the file was not deleted from my HDD. [code=c] #include<dos.h> #include<conio.h> #include<stdio.h> main() { clrscr(); union REGS i,o; char far *fname[67]; puts("enter" ); gets("fname"); i.h.ah=0x41; i.x.ax=(int)fname; printf("%d",i.x.ax) ; intdos(&i,&o); if(o.x.cflag==0) printf("success") ; else printf("attempt …

Member Avatar for ajay.krish123
0
136
Member Avatar for Erikmmp

Hi everyone. I was just wondering if anyone could help me with how to play a sound (from a file or directly specifying the frequency doesn't matter) on a Mac. I would prefer doing this directly from C but if there is no way to do that then i found …

0
47
Member Avatar for Erikmmp

Hi everyone, I am trying to make a program that times how long it runs for in seconds or milliseconds or whatever. The unit of time doesn't matter, I just need to know if C has any function I could use to do this. So, just as an example, I'm …

Member Avatar for Erikmmp
0
123
Member Avatar for Erikmmp

Hi I'm pretty new to C (about a week experience) and I was wondering if C had anything like Python's random.choice() function. Basically it just selected a random element from what you gave it, a number from an array or a character from a string. If there is no function …

Member Avatar for Erikmmp
0
121